diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-01-16 10:25:34 -0800 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2012-01-16 10:25:34 -0800 |
commit | 07d72417590ae2ad4641fb7f58f093bf68dca87e (patch) | |
tree | 63fe05730b8006f09339556396a21bde4d457f13 | |
parent | d8fc3d969d0fbb779aec25072b759c095a710423 (diff) | |
download | vyatta-cfg-quagga-07d72417590ae2ad4641fb7f58f093bf68dca87e.tar.gz vyatta-cfg-quagga-07d72417590ae2ad4641fb7f58f093bf68dca87e.zip |
Fix check for pseudo-ethernet overlap
Bug 7726
Incorrect variable name (from cut-paste)
-rwxr-xr-x | scripts/vyatta-bridge.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-bridge.pl b/scripts/vyatta-bridge.pl index 68d3e107..b1a3afaa 100755 --- a/scripts/vyatta-bridge.pl +++ b/scripts/vyatta-bridge.pl @@ -72,8 +72,8 @@ if ( $action eq 'SET' ) { foreach my $peth ($cfg->listNodes()) { my $link = $cfg->returnValue("$peth link"); - die "Error: can not add interface $slave to bridge already used by pseudo-ethernet $peth\n" - if ($link eq $slave); + die "Error: can not add interface $ifname to bridge already used by pseudo-ethernet $peth\n" + if ($link eq $ifname); } print "Adding interface $ifname to bridge $newbridge\n"; |