diff options
author | Phil Dibowitz <phil@ipom.com> | 2016-10-11 17:59:19 -0700 |
---|---|---|
committer | Lukáš Nykrýn <lnykryn@redhat.com> | 2016-10-12 22:04:12 +0200 |
commit | 14cf7c177935c04bf785677a2946ea0a0c0df491 (patch) | |
tree | d0d4541286a384db8dd46c07d2b4ddfc16608fed /sysconfig | |
parent | 92520debcad27eca08507fe47486ae7ee9df484b (diff) | |
download | initscripts-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.
Diffstat (limited to 'sysconfig')
-rw-r--r-- | sysconfig/network-scripts/network-functions-ipv6 | 4 |
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 |