diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2013-04-03 13:17:43 +0200 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2013-04-03 13:17:43 +0200 |
commit | a89df09d512e5331ad16f4f5c1bdc01acdaca4c4 (patch) | |
tree | dea51984736a6eb6c9bd9dd668445511322f4392 /sysconfig | |
parent | e65204069acf19a93c6dd5e2ec07db2e984c61df (diff) | |
download | initscripts-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-x | sysconfig/network-scripts/ifdown-eth | 4 |
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 |