summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-09 18:57:39 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-09 18:57:39 +0200
commit22382e3e6e9417972cea26abad03d1614434a074 (patch)
treecc2e62f4e50ce4fb6ec1cab290cfd29ca525d9f3
parentd5689ea3d8e960cbc45578d914bd6139ee4c778f (diff)
downloadvyatta-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.def2
-rw-r--r--templates/policy/prefix-list6/node.def2
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"