diff options
author | Mohit Mehta <mohit@vyatta.com> | 2011-01-10 16:23:06 -0800 |
---|---|---|
committer | Mohit Mehta <mohit@vyatta.com> | 2011-01-10 17:35:28 -0800 |
commit | 435bf038f32a968424030da43b4a85ec50e02767 (patch) | |
tree | 7601d9561f841009a4935d8a3a84109152c9f3c0 /templates/firewall/ipv6-modify | |
parent | 3b906597925e980ff7d652d22450485679464145 (diff) | |
download | vyatta-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-modify')
-rw-r--r-- | templates/firewall/ipv6-modify/node.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/firewall/ipv6-modify/node.def b/templates/firewall/ipv6-modify/node.def index 9a4b487..035ddd1 100644 --- a/templates/firewall/ipv6-modify/node.def +++ b/templates/firewall/ipv6-modify/node.def @@ -3,8 +3,8 @@ priority: 210 type: txt -syntax:expression: pattern $VAR(@) "^[[:print:]]{1,29}$" ; \ - "Firewall name must be 29 characters or less" +syntax:expression: pattern $VAR(@) "^[[:print:]]{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(@) "^[^;]*$" ; \ |