diff options
author | Bob Gilligan <gilligan@vyatta.com> | 2008-12-09 15:57:41 -0800 |
---|---|---|
committer | Bob Gilligan <gilligan@vyatta.com> | 2008-12-09 15:57:41 -0800 |
commit | a1079991df0425d8338686053602c0c5fe1e62fb (patch) | |
tree | 755aa679099075d3ae0d8584da1aed49c7f9f5ba /templates/firewall/modify | |
parent | a8cd93d29719ad2aab005ebbf401df23ba5754c7 (diff) | |
download | vyatta-cfg-firewall-a1079991df0425d8338686053602c0c5fe1e62fb.tar.gz vyatta-cfg-firewall-a1079991df0425d8338686053602c0c5fe1e62fb.zip |
Cleanup firewall templates for readability. Update help strings to reflect IPv4.
Diffstat (limited to 'templates/firewall/modify')
-rw-r--r-- | templates/firewall/modify/node.def | 3 | ||||
-rw-r--r-- | templates/firewall/modify/node.tag/description/node.def | 1 | ||||
-rw-r--r-- | templates/firewall/modify/node.tag/rule/node.def | 3 |
3 files changed, 7 insertions, 0 deletions
diff --git a/templates/firewall/modify/node.def b/templates/firewall/modify/node.def index 6fb513f..7e9046f 100644 --- a/templates/firewall/modify/node.def +++ b/templates/firewall/modify/node.def @@ -1,4 +1,7 @@ tag: + type: txt + syntax:expression: pattern $VAR(@) "^[^-]" ; "Modify rule set name cannot start with \"-\"" + help: Set modify rule set name diff --git a/templates/firewall/modify/node.tag/description/node.def b/templates/firewall/modify/node.tag/description/node.def index d5d4dba..fbf2144 100644 --- a/templates/firewall/modify/node.tag/description/node.def +++ b/templates/firewall/modify/node.tag/description/node.def @@ -1,2 +1,3 @@ type: txt + help: Set modify rule set description diff --git a/templates/firewall/modify/node.tag/rule/node.def b/templates/firewall/modify/node.tag/rule/node.def index f2e7c6f..19c467b 100644 --- a/templates/firewall/modify/node.tag/rule/node.def +++ b/templates/firewall/modify/node.tag/rule/node.def @@ -1,4 +1,7 @@ tag: + type: u32 + help: Set modify rule number (1-1024) + syntax:expression: $VAR(@) > 0 && $VAR(@) < 1025; "modify rule number must be between 1 and 1024" |