summaryrefslogtreecommitdiff
path: root/templates/firewall/group/address-group/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/firewall/group/address-group/node.def')
-rw-r--r--templates/firewall/group/address-group/node.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/firewall/group/address-group/node.def b/templates/firewall/group/address-group/node.def
index f594074..9a60731 100644
--- a/templates/firewall/group/address-group/node.def
+++ b/templates/firewall/group/address-group/node.def
@@ -11,6 +11,9 @@ syntax:expression: exec " \
syntax:expression: pattern $VAR(@) "^[^-]" ; \
"Firewall group name cannot start with \"-\""
+syntax:expression: pattern $VAR(@) "^[^!]" ; \
+ "Firewall group name cannot start with \"!\""
+
create: sudo /opt/vyatta/sbin/vyatta-ipset.pl \
--action=create-set \
--set-type=address \