From c89de09bb5ac6e9f382bd919bc92a0381374da47 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 26 Sep 2001 18:46:23 +0000 Subject: fix ifdown for aliases --- sysconfig/network-scripts/ifdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sysconfig') diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown index 45692820..c9b03c85 100755 --- a/sysconfig/network-scripts/ifdown +++ b/sysconfig/network-scripts/ifdown @@ -85,8 +85,9 @@ else expand_config # we can't just delete the configured address because that address # may have been changed in the config file since the device was - # brought up. Flush all addresses instead. - ip addr flush dev ${DEVICE} + # brought up. Flush all addresses associated with this + # instance instead. + ip addr flush dev ${REALDEVICE} label ${DEVICE} fi if [ "${REALDEVICE}" = "${DEVICE}" ]; then -- cgit v1.2.1