aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Dibowitz <phil@ipom.com>2016-10-11 17:59:19 -0700
committerLukáš Nykrýn <lnykryn@redhat.com>2016-10-12 22:04:12 +0200
commit14cf7c177935c04bf785677a2946ea0a0c0df491 (patch)
treed0d4541286a384db8dd46c07d2b4ddfc16608fed
parent92520debcad27eca08507fe47486ae7ee9df484b (diff)
downloadinitscripts-14cf7c177935c04bf785677a2946ea0a0c0df491.tar
initscripts-14cf7c177935c04bf785677a2946ea0a0c0df491.tar.gz
initscripts-14cf7c177935c04bf785677a2946ea0a0c0df491.tar.bz2
initscripts-14cf7c177935c04bf785677a2946ea0a0c0df491.tar.xz
initscripts-14cf7c177935c04bf785677a2946ea0a0c0df491.zip
Fix typo'd variable in 6to4 cleanup
Thanks to shellcheck. :) This is ontop of the whitespace PRs, those should go in first.
-rw-r--r--sysconfig/network-scripts/network-functions-ipv64
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/network-functions-ipv6 b/sysconfig/network-scripts/network-functions-ipv6
index 6ff6a76f..2017e273 100644
--- a/sysconfig/network-scripts/network-functions-ipv6
+++ b/sysconfig/network-scripts/network-functions-ipv6
@@ -236,8 +236,8 @@ ipv6_cleanup_6to4_device() {
ipv6_test testonly || return 2
# Cleanup 6to4 addresses on this device
- /sbin/ip -6 addr show dev $dev scope global permanent | awk '/\<inet6\>/ && $2 ~ /^2002:/ { print $2 }' | while read addr; do
- /sbin/ip -6 addr del ${addr} dev ${dev}
+ /sbin/ip -6 addr show dev $device scope global permanent | awk '/\<inet6\>/ && $2 ~ /^2002:/ { print $2 }' | while read addr; do
+ /sbin/ip -6 addr del ${addr} dev ${device}
done
# Get all IPv6 routes through given interface related to 6to4 and remove them