summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-01 14:46:07 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-01 14:46:07 -0800
commit3c390052fb343b915f7e74c467e8ae5b4655b3d3 (patch)
tree152eed03b4f95b5413ff67c8437f26ff3d87c010
parent89cd350d7b8adf312379bb0e21fd3c91a9a844a6 (diff)
downloadvyatta-nat-3c390052fb343b915f7e74c467e8ae5b4655b3d3.tar.gz
vyatta-nat-3c390052fb343b915f7e74c467e8ae5b4655b3d3.zip
fix for bug 2591: update help text
-rw-r--r--templates-cfg/service/nat/rule/node.tag/protocols/node.def9
1 files changed, 5 insertions, 4 deletions
diff --git a/templates-cfg/service/nat/rule/node.tag/protocols/node.def b/templates-cfg/service/nat/rule/node.tag/protocols/node.def
index e2e6e84..bea3fa3 100644
--- a/templates-cfg/service/nat/rule/node.tag/protocols/node.def
+++ b/templates-cfg/service/nat/rule/node.tag/protocols/node.def
@@ -2,7 +2,8 @@ type: txt
help: Protocol to NAT (this can be a protocol name in /etc/protocols, a protocol number, or "all")
syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type.pl protocol_negate '$VAR(@)'" ; "invalid protocol \"$VAR(@)\""
comp_help:Possible completions:
- <name> A protocol name, for example, "tcp"
- <number> A protocol number
- all All protocols
-(Note: a protocol can also be negated, for example, "!tcp")
+ <text> An IP protocol name from /etc/protocols (e.g. "tcp" or "udp").
+ <0-255> An IP protocol number.
+ all All IP protocols.
+ !<protocol> All IP protocols except for the specified name or number
+ (negation).