Commit 55f0372d authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix for the "sharedlan" of the shared nodes experiment, as

reported by Hussam.
parent f261559d
......@@ -6946,11 +6946,9 @@ sub UploadVlans($)
my $lanname;
$lan->GetAttribute("link/lan", \$lanname);
my $virtlan = $self->vlans()->{$lanname};
if (!defined($virtlan)) {
tberror("Could not find link/lan $lanname in lan list!\n");
return -1;
if (defined($virtlan)) {
$lan->SetAttribute("failureaction", $virtlan->failureaction());
my @members;
if ($lan->MemberList(\@members) != 0) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment