From 4edf5c86ba11f4e6d0a112b1aa74ce7480ce4ce2 Mon Sep 17 00:00:00 2001 From: Bharat Date: Thu, 4 Oct 2012 11:51:24 -0700 Subject: Bug 8200: Changed the grep to not display shim6 --- templates-cfg/nat/destination/rule/node.tag/protocol/node.def | 2 +- templates-cfg/nat/source/rule/node.tag/protocol/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates-cfg/nat/destination/rule/node.tag/protocol/node.def b/templates-cfg/nat/destination/rule/node.tag/protocol/node.def index 2655306..7193a8d 100644 --- a/templates-cfg/nat/destination/rule/node.tag/protocol/node.def +++ b/templates-cfg/nat/destination/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 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 -- cgit v1.2.3