aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2014-12-16 14:12:36 +0100
committerLukas Nykryn <lnykryn@redhat.com>2014-12-16 14:20:34 +0100
commit10bf23e7adc00341d2fc7a5f485b92d51d6e8f1e (patch)
treefa13b039826803994cf5089b84ebb9531e6d06a8
parentee22f9a606239c0d44d4d543e42e27ff527db8a5 (diff)
downloadinitscripts-10bf23e7adc00341d2fc7a5f485b92d51d6e8f1e.tar
initscripts-10bf23e7adc00341d2fc7a5f485b92d51d6e8f1e.tar.gz
initscripts-10bf23e7adc00341d2fc7a5f485b92d51d6e8f1e.tar.bz2
initscripts-10bf23e7adc00341d2fc7a5f485b92d51d6e8f1e.tar.xz
initscripts-10bf23e7adc00341d2fc7a5f485b92d51d6e8f1e.zip
ifdown-ipv6: reset addrgenmode to eui64 for device
-rwxr-xr-xsysconfig/network-scripts/ifdown-ipv61
1 files changed, 1 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifdown-ipv6 b/sysconfig/network-scripts/ifdown-ipv6
index 7bfcfb34..d2207b76 100755
--- a/sysconfig/network-scripts/ifdown-ipv6
+++ b/sysconfig/network-scripts/ifdown-ipv6
@@ -66,6 +66,7 @@ fi
/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.forwarding=0 >/dev/null 2>&1
/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.accept_ra=0 >/dev/null 2>&1
/sbin/sysctl -e -w net.ipv6.conf.$SYSCTLDEVICE.accept_redirects=0 >/dev/null 2>&1
+/sbin/ip link set $DEVICE addrgenmode eui64 >/dev/null 2>&1
# Test status of tun6to4 device
ipv6_test_device_status tun6to4