aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2013-04-03 13:17:43 +0200
committerLukas Nykryn <lnykryn@redhat.com>2013-04-03 13:17:43 +0200
commita89df09d512e5331ad16f4f5c1bdc01acdaca4c4 (patch)
treedea51984736a6eb6c9bd9dd668445511322f4392 /sysconfig
parente65204069acf19a93c6dd5e2ec07db2e984c61df (diff)
downloadinitscripts-a89df09d512e5331ad16f4f5c1bdc01acdaca4c4.tar
initscripts-a89df09d512e5331ad16f4f5c1bdc01acdaca4c4.tar.gz
initscripts-a89df09d512e5331ad16f4f5c1bdc01acdaca4c4.tar.bz2
initscripts-a89df09d512e5331ad16f4f5c1bdc01acdaca4c4.tar.xz
initscripts-a89df09d512e5331ad16f4f5c1bdc01acdaca4c4.zip
call flush addresses with scope global
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifdown-eth4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth
index 3d6d791e..1d9e7151 100755
--- a/sysconfig/network-scripts/ifdown-eth
+++ b/sysconfig/network-scripts/ifdown-eth
@@ -108,9 +108,9 @@ retcode=0
# instance instead.
if [ -d "/sys/class/net/${REALDEVICE}" ]; then
if [ "${REALDEVICE}" = "${DEVICE}" ]; then
- ip addr flush dev ${REALDEVICE} 2>/dev/null
+ ip addr flush dev ${REALDEVICE} scope global 2>/dev/null
else
- ip addr flush dev ${REALDEVICE} label ${DEVICE} 2>/dev/null
+ ip addr flush dev ${REALDEVICE} label ${DEVICE} scope global 2>/dev/null
fi
if [ "${SLAVE}" = "yes" -a -n "${MASTER}" ]; then