[svn] commit: r2022 - /trunk/src/bin/bindctl/cmdparse.py

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jun 1 22:15:44 UTC 2010


Author: jinmei
Date: Tue Jun  1 22:15:44 2010
New Revision: 2022

Log:
added : for param_value_xxx to accept IPv6 addresses. (trac #219)

Modified:
    trunk/src/bin/bindctl/cmdparse.py

Modified: trunk/src/bin/bindctl/cmdparse.py
==============================================================================
--- trunk/src/bin/bindctl/cmdparse.py (original)
+++ trunk/src/bin/bindctl/cmdparse.py Tue Jun  1 22:15:44 2010
@@ -24,8 +24,8 @@
     from bindctl.mycollections import OrderedDict
 
 param_name_str = "^\s*(?P<param_name>[\w]+)\s*=\s*"
-param_value_str = "(?P<param_value>[\w\./-]+)"
-param_value_with_quota_str = "[\"\'](?P<param_value>[\w\., /-]+)[\"\']"
+param_value_str = "(?P<param_value>[\w\.:/-]+)"
+param_value_with_quota_str = "[\"\'](?P<param_value>[\w\.:, /-]+)[\"\']"
 next_params_str = "(?P<blank>\s*)(?P<comma>,?)(?P<next_params>.*)$"
 
 PARAM_WITH_QUOTA_PATTERN = re.compile(param_name_str + 




More information about the bind10-changes mailing list