summaryrefslogtreecommitdiff
path: root/templates-cfg/nat/source/rule
diff options
context:
space:
mode:
authorBharat <bharat.bandaru@vyatta.com>2012-10-04 11:51:24 -0700
committerBharat <bharat.bandaru@vyatta.com>2012-10-04 11:51:24 -0700
commit4edf5c86ba11f4e6d0a112b1aa74ce7480ce4ce2 (patch)
treecbb4d5625f2ca036f2c13c7370fc2380242be9a4 /templates-cfg/nat/source/rule
parent0f1ad3f2bf0d8b1446af4713f22f968ee3e654da (diff)
downloadvyatta-nat-4edf5c86ba11f4e6d0a112b1aa74ce7480ce4ce2.tar.gz
vyatta-nat-4edf5c86ba11f4e6d0a112b1aa74ce7480ce4ce2.zip
Bug 8200: Changed the grep to not display shim6
Diffstat (limited to 'templates-cfg/nat/source/rule')
-rw-r--r--templates-cfg/nat/source/rule/node.tag/protocol/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates-cfg/nat/source/rule/node.tag/protocol/node.def b/templates-cfg/nat/source/rule/node.tag/protocol/node.def
index 2655306..7193a8d 100644
--- a/templates-cfg/nat/source/rule/node.tag/protocol/node.def
+++ b/templates-cfg/nat/source/rule/node.tag/protocol/node.def
@@ -17,6 +17,6 @@ syntax:expression: exec "if [ -n \"`/opt/vyatta/sbin/vyatta-validate-type.pl pro
# Provide some help for command completion. Doesn't return negated
# values or protocol numbers
allowed:
- protos=`cat /etc/protocols | sed -e '/^#.*/d' | awk '{ print $1 }' | grep -v 'v6'`
+ protos=`cat /etc/protocols | sed -e '/^#.*/d' | awk '{ print $1 }' | grep -v '6'`
protos="all $protos tcp_udp"
echo -n $protos