summaryrefslogtreecommitdiff
path: root/templates/firewall/name/node.def
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/name/node.def
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/name/node.def')
-rw-r--r--templates/firewall/name/node.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/firewall/name/node.def b/templates/firewall/name/node.def
index 7c95d03..b7c6489 100644
--- a/templates/firewall/name/node.def
+++ b/templates/firewall/name/node.def
@@ -10,4 +10,6 @@ syntax:expression: exec " \
syntax:expression: pattern $VAR(@) "^[^-]" ; "Firewall rule set name cannot start with \"-\""
+syntax:expression: pattern $VAR(@) "^[^;]*$" ; "Firewall rule set name cannot contain ';'"
+
help: Set IPv4 firewall rule set name