Commit 0c1a7785 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix.

parent 7d347fab
......@@ -1546,7 +1546,8 @@ sub doRestorePortStatus($@) {
print "Could not yank $port from $source_vlan\n";
$errors++;
}
VLan->RecordVLanModification($source_vlan->id(), undef, $port);
my @tmp = ($port);
VLan->RecordVLanModification($source_vlan->id(), undef, \$tmp);
}
if (defined($target_vlan) && $target_vlan->KeepInSync()) {
if ($target_vlan->AddPort($port)) {
......
Markdown is supported
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