diff options
Diffstat (limited to 'rc.inet1')
-rw-r--r-- | rc.inet1 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -189,8 +189,8 @@ bond_create() { info_log "${IFNAME[$1]}: creating bond" debug_log "/sbin/ip link add name ${IFNAME[$1]} type bond" /sbin/ip link add name ${IFNAME[$1]} type bond - debug_log "/sbin/ip link set dev ${IFNAME[$1]} type bond mode ${BONDMODE[$1]}" - /sbin/ip link set dev ${IFNAME[$1]} type bond mode ${BONDMODE[$1]} + debug_log "/sbin/ip link set dev ${IFNAME[$1]} type bond mode ${BONDMODE[$1]:-balance-rr}" + /sbin/ip link set dev ${IFNAME[$1]} type bond mode ${BONDMODE[$1]:-balance-rr} for BONDIF in ${BONDNICS[$1]}; do debug_log "/sbin/ip address flush dev $BONDIF" /sbin/ip address flush dev $BONDIF |