diff options
Diffstat (limited to 'templates-cfg')
-rw-r--r-- | templates-cfg/nat/destination/rule/node.tag/protocol/node.def | 2 | ||||
-rw-r--r-- | 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 |