diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-08-14 16:25:00 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-08-17 10:57:20 -0700 |
commit | 013f44048b37cf5b3deb1ba8a97182442232cd4b (patch) | |
tree | c5d236b687ea977eb0a67fc0f21eae30cf1f4aab /templates/firewall | |
parent | 9e276ecd02405bdc49248f0b8340100529493a62 (diff) | |
download | vyatta-cfg-firewall-013f44048b37cf5b3deb1ba8a97182442232cd4b.tar.gz vyatta-cfg-firewall-013f44048b37cf5b3deb1ba8a97182442232cd4b.zip |
fix bug 6055 firewall rule help strings are confusing
* add val_help for firewall rule nodes
(cherry picked from commit 0a1eb7471e1ec478b2eb22200ab5fc42eaba1e8e)
Diffstat (limited to 'templates/firewall')
4 files changed, 8 insertions, 0 deletions
diff --git a/templates/firewall/ipv6-modify/node.tag/rule/node.def b/templates/firewall/ipv6-modify/node.tag/rule/node.def index e2dc34e..c31dfbd 100644 --- a/templates/firewall/ipv6-modify/node.tag/rule/node.def +++ b/templates/firewall/ipv6-modify/node.tag/rule/node.def @@ -5,3 +5,5 @@ type: u32 help: Rule number (1-9999) syntax:expression: $VAR(@) > 0 && $VAR(@) <= 9999; "firewall rule number must be between 1 and 9999" + +val_help: u32:1-9999; Rule number diff --git a/templates/firewall/ipv6-name/node.tag/rule/node.def b/templates/firewall/ipv6-name/node.tag/rule/node.def index e2dc34e..c31dfbd 100644 --- a/templates/firewall/ipv6-name/node.tag/rule/node.def +++ b/templates/firewall/ipv6-name/node.tag/rule/node.def @@ -5,3 +5,5 @@ type: u32 help: Rule number (1-9999) syntax:expression: $VAR(@) > 0 && $VAR(@) <= 9999; "firewall rule number must be between 1 and 9999" + +val_help: u32:1-9999; Rule number diff --git a/templates/firewall/modify/node.tag/rule/node.def b/templates/firewall/modify/node.tag/rule/node.def index 9df6ef4..661e943 100644 --- a/templates/firewall/modify/node.tag/rule/node.def +++ b/templates/firewall/modify/node.tag/rule/node.def @@ -5,3 +5,5 @@ type: u32 help: Rule number (1-9999) syntax:expression: $VAR(@) > 0 && $VAR(@) <= 9999; "modify rule number must be between 1 and 9999" + +val_help: u32:1-9999; Rule number diff --git a/templates/firewall/name/node.tag/rule/node.def b/templates/firewall/name/node.tag/rule/node.def index e2dc34e..c31dfbd 100644 --- a/templates/firewall/name/node.tag/rule/node.def +++ b/templates/firewall/name/node.tag/rule/node.def @@ -5,3 +5,5 @@ type: u32 help: Rule number (1-9999) syntax:expression: $VAR(@) > 0 && $VAR(@) <= 9999; "firewall rule number must be between 1 and 9999" + +val_help: u32:1-9999; Rule number |