summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/protocol/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/firewall/name/node.tag/rule/node.tag/protocol/node.def b/templates/firewall/name/node.tag/rule/node.tag/protocol/node.def
index 4ced90a..50c0052 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/protocol/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/protocol/node.def
@@ -1,3 +1,8 @@
type: txt
help: Configure which protocol to match (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:
+ <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).