diff options
author | Victor Lowther <victor.lowther@gmail.com> | 2009-07-29 17:36:31 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-07-30 12:24:41 -0400 |
commit | 525d516df94b7c044cd97de27b6924d188ed4048 (patch) | |
tree | d3b0ea52cf800b61d647907b4263e55874fec616 /sysconfig/network-scripts/ifup-ipv6 | |
parent | 1096cd2ebc150e5c74b5e8e4016b835f34cd3f48 (diff) | |
download | initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar.gz initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar.bz2 initscripts-525d516df94b7c044cd97de27b6924d188ed4048.tar.xz initscripts-525d516df94b7c044cd97de27b6924d188ed4048.zip |
Use $(( )) for arithmetic statements instead of let or $[ ].
Diffstat (limited to 'sysconfig/network-scripts/ifup-ipv6')
-rwxr-xr-x | sysconfig/network-scripts/ifup-ipv6 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |