diff options
Diffstat (limited to 'scripts/vyatta-bonding.pl')
-rwxr-xr-x | scripts/vyatta-bonding.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vyatta-bonding.pl b/scripts/vyatta-bonding.pl index eac89f07..71707126 100755 --- a/scripts/vyatta-bonding.pl +++ b/scripts/vyatta-bonding.pl @@ -221,6 +221,10 @@ sub commit_check { my @addr = $cfg->returnValues('address'); die "Error: can not add interface $slave with addresses to bond-group\n" if (@addr); + + my @vrrp = $cfg->listNodes('vrrp vrrp-group'); + die "Error: can not add interface $slave with VRRP to bond-group\n" + if (@vrrp); } # bonding requires interface to be down before enslaving |