diff options
Diffstat (limited to 'scripts/vyatta-bonding.pl')
-rwxr-xr-x | scripts/vyatta-bonding.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/vyatta-bonding.pl b/scripts/vyatta-bonding.pl index be09e754..fe07b1a2 100755 --- a/scripts/vyatta-bonding.pl +++ b/scripts/vyatta-bonding.pl @@ -196,6 +196,9 @@ sub commit_check { die "Error: can not add disabled interface $slave to bond-group $intf\n" if $cfg->exists('disable'); + die "Error: can not add interface $slave that is part of bridge to bond-group\n" + if defined($cfg->returnValue("bridge-group bridge")); + my @addr = $cfg->returnValues('address'); die "Error: can not add interface $slave with addresses to bond-group\n" if (@addr); |