File sysconfig-Fixed-order-of-addr-flush-and-link-down-in-ifdown.patch of Package sysconfig

--- scripts/ifup.orig	2012-02-17 22:19:08.345735483 +0100
+++ scripts/ifup	2012-02-17 22:19:08.345735483 +0100
@@ -1042,8 +1042,8 @@
 				# Calling 'ip' if there is no interface (ifdown called from udev for
 				# remove event) would trigger automatic module loading (Bug 199456)
 				if [ -d /sys/class/net/$INTERFACE ] ; then
-					ip addr flush dev $INTERFACE &>/dev/null
 					ip link set dev $INTERFACE down &>/dev/null
+					ip addr flush dev $INTERFACE &>/dev/null
 				fi
 				retcode=0 # $?
 				;;
openSUSE Build Service is sponsored by