Package: ifenslave-2.6
Version: 1.1.0-10
Severity: wishlist
Tags: patch

The attached patch against version 1.1.0-10 of ifenslave-2.6 adds
support for the following bonding options:

bond_arp_validate
bond_use_carrier
bond_fail_over_mac

Please consider applying this for your next release.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.4 (SMP w/2 CPU cores)
Locale: LANG=da_DK, LC_CTYPE=da_DK (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages ifenslave-2.6 depends on:
ii  libc6                         2.7-12     GNU C Library: Shared libraries

Versions of packages ifenslave-2.6 recommends:
ii  net-tools                     1.60-19    The NET-3 networking toolkit

-- no debconf information
--- ifenslave-2.6-1.1.0/debian/pre-up.orig      2008-06-30 09:32:46.000000000 
+0200
+++ ifenslave-2.6-1.1.0/debian/pre-up   2008-06-30 23:29:58.000000000 +0200
@@ -47,6 +47,9 @@
                if [ "$IF_BOND_MIIMON" ]; then
                        echo "$IF_BOND_MIIMON" > $BOND_PARAMS/miimon
                fi
+               if [ "$IF_BOND_USE_CARRIER" ]; then
+                       echo "$IF_BOND_USE_CARRIER" > $BOND_PARAMS/use_carrier
+               fi
                if [ "$IF_BOND_UPDELAY" ]; then
                        echo "$IF_BOND_UPDELAY" > $BOND_PARAMS/updelay
                fi
@@ -61,6 +64,12 @@
                if [ "$IF_BOND_ARP_INTERVAL" ]; then
                        echo "$IF_BOND_ARP_INTERVAL" > $BOND_PARAMS/arp_interval
                fi
+               if [ "$IF_BOND_ARP_VALIDATE" ]; then
+                       echo "$IF_BOND_ARP_VALIDATE" > $BOND_PARAMS/arp_validate
+               fi
+               if [ "$IF_BOND_FAIL_OVER_MAC" ]; then
+                       echo "$IF_BOND_FAIL_OVER_MAC" > 
$BOND_PARAMS/fail_over_mac
+               fi
                if [ "$IF_BOND_XMIT_HASH_POLICY" ]; then
                        echo "$IF_BOND_XMIT_HASH_POLICY" > 
$BOND_PARAMS/xmit_hash_policy
                fi
--- ifenslave-2.6-1.1.0/debian/README.debian.orig       2008-06-30 
09:32:46.000000000 +0200
+++ ifenslave-2.6-1.1.0/debian/README.debian    2008-06-30 23:33:26.000000000 
+0200
@@ -25,8 +25,8 @@
        bond_primary eth0
 
 This would run the bonding device in active backup mode with eth0 as primary.
-Supported options are bond_mode, bond_miimon, bond_primary, bond_updelay,
-bond_downdelay, bond_arp_ip_target, bond_arp_interval, bond_xmit_hash_policy
-and bond_lacp_rate.
+Supported options are bond_mode, bond_miimon, bond_use_carrier, bond_primary,
+bond_updelay, bond_downdelay, bond_arp_ip_target, bond_arp_interval,
+bond_arp_validate, bond_fail_over_mac, bond_xmit_hash_policy and 
bond_lacp_rate.
 
 Guus Sliepen <[EMAIL PROTECTED]>, Fri, 30 Sep 2005 14:33:06 +0200

Reply via email to