SVN: rc-scripts/trunk/sysconfig/network-scripts/ifdown-br
gotar
gotar at pld-linux.org
Wed Nov 4 08:58:49 CET 2009
Author: gotar
Date: Wed Nov 4 08:58:49 2009
New Revision: 10944
Modified:
rc-scripts/trunk/sysconfig/network-scripts/ifdown-br
Log:
- dont't set bridged device down! some subdevice can still be used
(e.g. VLAN interface in another bridge),
- NOTE: addresses from underlying device are flushed on ifup-br so
there should not exist anyone anyway
Modified: rc-scripts/trunk/sysconfig/network-scripts/ifdown-br
==============================================================================
--- rc-scripts/trunk/sysconfig/network-scripts/ifdown-br (original)
+++ rc-scripts/trunk/sysconfig/network-scripts/ifdown-br Wed Nov 4 08:58:49 2009
@@ -43,7 +43,6 @@
# set device down and forget all addresses
for device in ${BRIDGE_DEVS}; do
LC_ALL=C ip addr flush dev ${device} 2>&1 | grep -v "Nothing to flush"
- ip link set ${device} down
brctl delif ${DEVICE} ${device}
done
More information about the pld-cvs-commit
mailing list