From 4ebc49e3c1720fe8a17286a4fbb2d9ac71b94bb6 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 17 Mar 2009 12:49:42 -0400 Subject: Remove arp_ip_target on ifdown for bonding devices. (#483711) --- sysconfig/network-scripts/ifdown-eth | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sysconfig') diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth index ce9ee81d..a1ca59a3 100755 --- a/sysconfig/network-scripts/ifdown-eth +++ b/sysconfig/network-scripts/ifdown-eth @@ -56,7 +56,9 @@ if is_bonding_device ${DEVICE} ; then is_ignored_file "$device" && continue /sbin/ifdown ${device##*/} done - + for target in $(cat /sys/class/net/${DEVICE}/bonding/arp_ip_target) ; do + echo "-${target}" > /sys/class/net/${DEVICE}/bonding/arp_ip_target + done fi if [ "${NETWORKING_IPV6}" = "yes" ]; then -- cgit v1.2.1