summaryrefslogtreecommitdiff
path: root/templates/firewall/ipv6-name/node.def
diff options
context:
space:
mode:
authorMohit Mehta <mohit@vyatta.com>2011-01-10 16:23:06 -0800
committerMohit Mehta <mohit@vyatta.com>2011-01-10 17:35:28 -0800
commit435bf038f32a968424030da43b4a85ec50e02767 (patch)
tree7601d9561f841009a4935d8a3a84109152c9f3c0 /templates/firewall/ipv6-name/node.def
parent3b906597925e980ff7d652d22450485679464145 (diff)
downloadvyatta-cfg-firewall-435bf038f32a968424030da43b4a85ec50e02767.tar.gz
vyatta-cfg-firewall-435bf038f32a968424030da43b4a85ec50e02767.zip
Fix Bug 6292 iptables chain-name must be reduced to 28 characters max
* change syntax check to limit firewall ruleset names to 28 chars and bump firewall cfg-version to enable config migration (cherry picked from commit a0e5b2107d6073a103e0f0c04cc8656f8dc3816b)
Diffstat (limited to 'templates/firewall/ipv6-name/node.def')
-rw-r--r--templates/firewall/ipv6-name/node.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/firewall/ipv6-name/node.def b/templates/firewall/ipv6-name/node.def
index 3a151d9..0eb53f7 100644
--- a/templates/firewall/ipv6-name/node.def
+++ b/templates/firewall/ipv6-name/node.def
@@ -3,8 +3,8 @@ priority: 210
type: txt
-syntax:expression: pattern $VAR(@) "^[[:graph:]]{1,29}$" ; \
- "Firewall name must be 29 characters or less"
+syntax:expression: pattern $VAR(@) "^[[:graph:]]{1,28}$" ; \
+ "Firewall name must be 28 characters or less"
syntax:expression: pattern $VAR(@) "^[^-]" ; \
"Firewall rule set name cannot start with \"-\""
syntax:expression: pattern $VAR(@) "^[^|;&$<>]*$" ; \