chiark / gitweb /
do actually process server-specific [<server> LIMIT] sections
[hippotat.git] / hippotatlib / __init__.py
index 8e00c157bb51143c0079cbbf9ca155980ec3f737..aa5b06c49385c0b7268a8fc16c60c74555254676 100644 (file)
@@ -386,7 +386,8 @@ def _cfg_process_putatives():
   server_pat = r'[-.0-9A-Za-z]+'
   client_pat = r'[.:0-9a-f]+'
   server_re = regexp.compile(server_pat)
-  serverclient_re = regexp.compile(server_pat + r' ' + client_pat)
+  serverclient_re = regexp.compile(
+        server_pat + r' ' + '(?:' + client_pat + '|LIMIT)')
 
   for cs in cfg.sections():
     if cs == 'LIMIT' or cs == 'COMMON':