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:58:15 +0200 |
commit | 0328ec77024df55462f2e21595f717c98f91f6e0 (patch) | |
tree | d6be46e6f91b6476075905356b99f81465ff4e18 | |
parent | 0c3dfe8b3041f2ea05ab30d60056a8450285c328 (diff) | |
download | vyatta-cfg-quagga-0328ec77024df55462f2e21595f717c98f91f6e0.tar.gz vyatta-cfg-quagga-0328ec77024df55462f2e21595f717c98f91f6e0.zip |
policy: T3531: Allow prefix-list names to contain an underscore
(cherry picked from commit 22382e3e6e9417972cea26abad03d1614434a074)
-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" |