summaryrefslogtreecommitdiff
path: root/templates/firewall/modify/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/firewall/modify/node.def')
-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 b7ec4a4..c9d6dc0 100644
--- a/templates/firewall/modify/node.def
+++ b/templates/firewall/modify/node.def
@@ -10,6 +10,8 @@ syntax:expression: exec " \
syntax:expression: pattern $VAR(@) "^[^-]" ; "Modify rule set name cannot start with \"-\""
+syntax:expression: pattern $VAR(@) "^[^VZONE]" ; "Firewall rule set name cannot start with \"VZONE\""
+
syntax:expression: pattern $VAR(@) "^[^;]*$" ; "Firewall rule set name cannot contain ';'"
end: if sudo /opt/vyatta/sbin/vyatta-firewall.pl --update-rules modify "$VAR(@)" ;