From a0895aba2529c34387cf9abdc658f5f43c39d32c 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/network-scripts/ifdown-eth') diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth index f5fb16f6..5d22ba69 100755 --- a/sysconfig/network-scripts/ifdown-eth +++ b/sysconfig/network-scripts/ifdown-eth @@ -57,7 +57,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 /etc/sysconfig/network-scripts/ifdown-ipv6 ${CONFIG} -- cgit v1.2.1