Package: ifenslave Version: 2 Severity: normal Tags: patch
-- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Option "bond-arp-ip-target" in /etc/network/interfaces (from /etc/network/if-pre-up.d/ifenslave) has two related problems : 1/ One should prepend a "+" in from of the target IP address when writing to /sys/class/net/bond*/bonding/arp_in_target. The "+" is missing in /etc/network/if-pre-up.d/ifenslave. 2/ bond-arp-ip-target should allow for several targets, so IF_BOND_ARP_IP_TARGET sould be processed as a list. Patch : --- ifenslave.ori 2008-05-11 23:11:44.000000000 +0200 +++ ifenslave 2008-05-11 23:11:52.000000000 +0200 @@ -53,7 +53,9 @@ echo "$IF_BOND_DOWNDELAY" > $BOND_PARAMS/downdelay fi if [ "$IF_BOND_ARP_IP_TARGET" ]; then - echo "$IF_BOND_ARP_IP_TARGET" > $BOND_PARAMS/arp_ip_target + for target in $IF_BOND_ARP_IP_TARGET ; do + echo "+$IF_BOND_ARP_IP_TARGET" > $BOND_PARAMS/arp_ip_target + done fi if [ "$IF_BOND_ARP_INTERVAL" ]; then echo "$IF_BOND_ARP_INTERVAL" > $BOND_PARAMS/arp_interval -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]