summaryrefslogtreecommitdiff
path: root/templates/firewall/modify
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-27 15:15:51 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-27 15:15:51 -0800
commit2f684d00985f67469db874805caeedf83cf2e1eb (patch)
tree970dd4d831d1f4a87bda2bbf7e82381f011ea8c7 /templates/firewall/modify
parent09b937160c8aadf443ce9788af93b3e4a225645a (diff)
downloadvyatta-cfg-firewall-2f684d00985f67469db874805caeedf83cf2e1eb.tar.gz
vyatta-cfg-firewall-2f684d00985f67469db874805caeedf83cf2e1eb.zip
Prevent ';' from being used in a firewall name.
Diffstat (limited to 'templates/firewall/modify')
-rw-r--r--templates/firewall/modify/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/firewall/modify/node.def b/templates/firewall/modify/node.def
index 1b07f5d..cdd0d04 100644
--- a/templates/firewall/modify/node.def
+++ b/templates/firewall/modify/node.def
@@ -10,4 +10,6 @@ syntax:expression: exec " \
syntax:expression: pattern $VAR(@) "^[^-]" ; "Modify rule set name cannot start with \"-\""
+syntax:expression: pattern $VAR(@) "^[^;]*$" ; "Firewall rule set name cannot contain ';'"
+
help: Set IPv4 modify rule set name