Commit 88294b40 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix to prevent duplicates vlans:members.

parent 3bb90813
......@@ -3450,7 +3450,8 @@ sub RecordVLanModification($$$$)
foreach my $port (@$added) {
my ($nodeid,$iface) = ($port =~ /(.+):(.+)/);
$current{"$nodeid:$iface"} = "$nodeid:$iface";
$current{"$nodeid:$iface"} = "$nodeid:$iface"
if (!exists($current{"$nodeid:$iface"}));
}
}
if ($removed) {
......
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