diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-27 15:15:51 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2009-02-27 15:15:51 -0800 |
commit | 2f684d00985f67469db874805caeedf83cf2e1eb (patch) | |
tree | 970dd4d831d1f4a87bda2bbf7e82381f011ea8c7 /templates/firewall/modify | |
parent | 09b937160c8aadf443ce9788af93b3e4a225645a (diff) | |
download | vyatta-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.def | 2 |
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 |