summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2010-08-13 18:13:22 -0700
committerStig Thormodsrud <stig@vyatta.com>2010-08-17 10:57:20 -0700
commit9e276ecd02405bdc49248f0b8340100529493a62 (patch)
tree65730c153842522e3c35a9935493e6451bf489ab
parent7cb7991dd6b44d6397e83ae337e22de23abf807b (diff)
downloadvyatta-cfg-firewall-9e276ecd02405bdc49248f0b8340100529493a62.tar.gz
vyatta-cfg-firewall-9e276ecd02405bdc49248f0b8340100529493a62.zip
fix range in help strings for count parameter under recent
(cherry picked from commit 3210dfe5d41f926840fd9ee6981a9fa89534cfd7)
-rw-r--r--templates/firewall/ipv6-modify/node.tag/rule/node.tag/recent/count/node.def1
-rw-r--r--templates/firewall/ipv6-name/node.tag/rule/node.tag/recent/count/node.def1
-rw-r--r--templates/firewall/modify/node.tag/rule/node.tag/recent/count/node.def1
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/recent/count/node.def1
4 files changed, 4 insertions, 0 deletions
diff --git a/templates/firewall/ipv6-modify/node.tag/rule/node.tag/recent/count/node.def b/templates/firewall/ipv6-modify/node.tag/rule/node.tag/recent/count/node.def
index efd8dd8..69a4ebd 100644
--- a/templates/firewall/ipv6-modify/node.tag/rule/node.tag/recent/count/node.def
+++ b/templates/firewall/ipv6-modify/node.tag/rule/node.tag/recent/count/node.def
@@ -1,3 +1,4 @@
type: u32
help: Source addresses seen more than N times
syntax:expression: $VAR(@) >=1 && $VAR(@) <= 255; "recent count value must be between 1 and 255"
+val_help: u32:1-255; Source addresses seen more than N times
diff --git a/templates/firewall/ipv6-name/node.tag/rule/node.tag/recent/count/node.def b/templates/firewall/ipv6-name/node.tag/rule/node.tag/recent/count/node.def
index efd8dd8..69a4ebd 100644
--- a/templates/firewall/ipv6-name/node.tag/rule/node.tag/recent/count/node.def
+++ b/templates/firewall/ipv6-name/node.tag/rule/node.tag/recent/count/node.def
@@ -1,3 +1,4 @@
type: u32
help: Source addresses seen more than N times
syntax:expression: $VAR(@) >=1 && $VAR(@) <= 255; "recent count value must be between 1 and 255"
+val_help: u32:1-255; Source addresses seen more than N times
diff --git a/templates/firewall/modify/node.tag/rule/node.tag/recent/count/node.def b/templates/firewall/modify/node.tag/rule/node.tag/recent/count/node.def
index 28dc2cc..defd974 100644
--- a/templates/firewall/modify/node.tag/rule/node.tag/recent/count/node.def
+++ b/templates/firewall/modify/node.tag/rule/node.tag/recent/count/node.def
@@ -1,4 +1,5 @@
type: u32
help: Source addresses seen more than N times
syntax:expression: $VAR(@) >=1 && $VAR(@) <= 255; "recent count value must be between 1 and 255"
+val_help: u32:1-255; Source addresses seen more than N times
diff --git a/templates/firewall/name/node.tag/rule/node.tag/recent/count/node.def b/templates/firewall/name/node.tag/rule/node.tag/recent/count/node.def
index efd8dd8..69a4ebd 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/recent/count/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/recent/count/node.def
@@ -1,3 +1,4 @@
type: u32
help: Source addresses seen more than N times
syntax:expression: $VAR(@) >=1 && $VAR(@) <= 255; "recent count value must be between 1 and 255"
+val_help: u32:1-255; Source addresses seen more than N times