aboutsummaryrefslogtreecommitdiffstats
path: root/main/bonding/bonding.pre-up
diff options
context:
space:
mode:
Diffstat (limited to 'main/bonding/bonding.pre-up')
-rwxr-xr-xmain/bonding/bonding.pre-up2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/bonding/bonding.pre-up b/main/bonding/bonding.pre-up
index 17f27070cc..6d26740b1d 100755
--- a/main/bonding/bonding.pre-up
+++ b/main/bonding/bonding.pre-up
@@ -120,7 +120,7 @@ setup_slaves()
# Are there anything to do ?
# Option slaves deprecated, replaced by bond-slaves, but still supported for backward compatibility.
-IF_BOND_SLAVES=${IF_BOND_SLAVES:-$IF_SLAVES}
+IF_BOND_SLAVES=${IF_BOND_MEMBERS:-${IF_BOND_SLAVES:-$IF_SLAVES}}
if [ "$IF_BOND_MASTER" ] ; then
BOND_MASTER="$IF_BOND_MASTER"