diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2010-07-21 17:07:11 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2010-07-21 17:07:11 -0700 |
commit | 3572c428aed690885d5e441cccbf3096044b9060 (patch) | |
tree | e34ed923309e06f87166fb678fee263be2ee9523 | |
parent | 6dc3440bced8d93eabc522e96da696a82d00bbc0 (diff) | |
download | vyatta-nat-3572c428aed690885d5e441cccbf3096044b9060.tar.gz vyatta-nat-3572c428aed690885d5e441cccbf3096044b9060.zip |
Use comp_help to give back info that was removed in prior val_help commit.
-rw-r--r-- | templates-cfg/service/nat/rule/node.tag/destination/port/node.def | 4 | ||||
-rw-r--r-- | templates-cfg/service/nat/rule/node.tag/source/port/node.def | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/templates-cfg/service/nat/rule/node.tag/destination/port/node.def b/templates-cfg/service/nat/rule/node.tag/destination/port/node.def index c49142a..7ab72d4 100644 --- a/templates-cfg/service/nat/rule/node.tag/destination/port/node.def +++ b/templates-cfg/service/nat/rule/node.tag/destination/port/node.def @@ -5,3 +5,7 @@ help: Destination port val_help: <port name> ; Named port (any name in /etc/services, e.g., http) val_help: u32:1-65535 ; Numbered port val_help: <start>-<end> ; Numbered port range (e.g., 1001-1005) + +comp_help: Destination port(s) can be specified as a comma-separated list. +The whole list can also be "negated" using '!'. +For example: '!22,telnet,http,123,1001-1005' diff --git a/templates-cfg/service/nat/rule/node.tag/source/port/node.def b/templates-cfg/service/nat/rule/node.tag/source/port/node.def index 72071cd..e81ea53 100644 --- a/templates-cfg/service/nat/rule/node.tag/source/port/node.def +++ b/templates-cfg/service/nat/rule/node.tag/source/port/node.def @@ -6,3 +6,6 @@ val_help: <port name> ; Named port (any name in /etc/services, e.g., http) val_help: u32:1-65535 ; Numbered port val_help: <start>-<end> ; Numbered port range (e.g., 1001-1005) +comp_help: Source port(s) can be specified as a comma-separated list. +The whole list can also be "negated" using '!'. +For example: '!22,telnet,http,123,1001-1005' |