From 525d516df94b7c044cd97de27b6924d188ed4048 Mon Sep 17 00:00:00 2001 From: Victor Lowther Date: Wed, 29 Jul 2009 17:36:31 -0400 Subject: Use $(( )) for arithmetic statements instead of let or $[ ]. --- sysconfig/network-scripts/ifup-ipv6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-ipv6') diff --git a/sysconfig/network-scripts/ifup-ipv6 b/sysconfig/network-scripts/ifup-ipv6 index 1dd30aff..ff14b6dd 100755 --- a/sysconfig/network-scripts/ifup-ipv6 +++ b/sysconfig/network-scripts/ifup-ipv6 @@ -225,7 +225,7 @@ if [ "$IPV6TO4INIT" = "yes" ]; then ipv4mtu="$(ipv6_exec_ip link show dev $DEVICE | grep -w "mtu" | awk '{ print $5 }')" if [ -n "$ipv4mtu" ]; then # IPv6 tunnel MTU is IPv4 MTU minus 20 for IPv4 header - tunnelmtu=$[ $ipv4mtu - 20 ] + tunnelmtu=$(($ipv4mtu-20)) fi if [ -n "$IPV6TO4_MTU" ]; then -- cgit v1.2.1