summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/protocol/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/protocol/node.def b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/protocol/node.def
index 9c665c2..2405ca6 100644
--- a/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/protocol/node.def
+++ b/templates/traffic-policy/shaper/node.tag/class/node.tag/match/node.tag/ip/protocol/node.def
@@ -3,7 +3,7 @@ help: Match IP protocol name or number
syntax:expression: exec "/opt/vyatta/sbin/vyatta-qos-util.pl --protocol $VAR(@)"
allowed: awk '
/^#/ { next }
- { printf "%s ", $1 }' </etc/protocols
+ { if($1 != "ip") printf "%s ", $1 }' </etc/protocols
comp_help: <0-255> IP protocol value or name
Common names:
icmp Internet Control Message Protocol