diff options
author | root <root@eng-140.vyatta.com> | 2008-07-25 11:47:07 -0700 |
---|---|---|
committer | root <root@eng-140.vyatta.com> | 2008-07-25 11:47:07 -0700 |
commit | c150b8ddf41be3c9429e86df14a67d7bf6887205 (patch) | |
tree | 38413c46e45f47a218730f442c3011a57e262526 | |
parent | 37ce9ca021a4849e792bcb96a1ee7a1cebdf6b42 (diff) | |
download | vyatta-wanloadbalance-c150b8ddf41be3c9429e86df14a67d7bf6887205.tar.gz vyatta-wanloadbalance-c150b8ddf41be3c9429e86df14a67d7bf6887205.zip |
fix for bug 3446. protocol assignment is now identical to firewall.
-rw-r--r-- | templates/load-balancing/wan/rule/node.tag/protocol/node.def | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/load-balancing/wan/rule/node.tag/protocol/node.def b/templates/load-balancing/wan/rule/node.tag/protocol/node.def index 339b1d1..12c361e 100644 --- a/templates/load-balancing/wan/rule/node.tag/protocol/node.def +++ b/templates/load-balancing/wan/rule/node.tag/protocol/node.def @@ -1,4 +1,9 @@ -help: Set protocol type: txt +help: Set protocol to match (protocol name in /etc/protocols or protocol number or "all") default: "all" -syntax:expression: $VAR(@) in "all", "tcp", "udp", "icmp"; "must be (all, tcp, udp, icmp)" +syntax:expression: exec "/opt/vyatta/sbin/vyatta-validate-type.pl protocol_negate '$VAR(@)'" ; "invalid protocol \"$VAR(@)\"" +comp_help:Possible completions: + <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) |