diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-09 18:57:39 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-09 18:57:39 +0200 |
commit | 22382e3e6e9417972cea26abad03d1614434a074 (patch) | |
tree | cc2e62f4e50ce4fb6ec1cab290cfd29ca525d9f3 | |
parent | d5689ea3d8e960cbc45578d914bd6139ee4c778f (diff) | |
download | vyatta-cfg-quagga-22382e3e6e9417972cea26abad03d1614434a074.tar.gz vyatta-cfg-quagga-22382e3e6e9417972cea26abad03d1614434a074.zip |
policy: T3531: Allow prefix-list names to contain an underscore
-rw-r--r-- | templates/policy/prefix-list/node.def | 2 | ||||
-rw-r--r-- | templates/policy/prefix-list6/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/policy/prefix-list/node.def b/templates/policy/prefix-list/node.def index bdf9dcec..ff283737 100644 --- a/templates/policy/prefix-list/node.def +++ b/templates/policy/prefix-list/node.def @@ -4,4 +4,4 @@ type: txt help: IP prefix-list filter val_help: Prefix list name -syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]+$" ; "prefix-list name must be alpha-numeric" +syntax:expression: pattern $VAR(@) "^[-_a-zA-Z0-9.]+$" ; "prefix-list name can only contain alpha-numeric letters, hyphen and underscores" diff --git a/templates/policy/prefix-list6/node.def b/templates/policy/prefix-list6/node.def index effbbbf2..f298dbf3 100644 --- a/templates/policy/prefix-list6/node.def +++ b/templates/policy/prefix-list6/node.def @@ -4,4 +4,4 @@ type: txt help: IPv6 prefix-list filter val_help: Prefix list name -syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]+$" ; "prefix-list6 name must be alpha-numeric" +syntax:expression: pattern $VAR(@) "^[-_a-zA-Z0-9.]+$" ; "prefix-list name can only contain alpha-numeric letters, hyphen and underscores" |