Commit 7a861f61 authored by Leigh B Stoller's avatar Leigh B Stoller

Bug fix that was causing stale vlans to get left behind during a sync.

parent 0d342aa2
#!/usr/bin/perl -w
#
# Copyright (c) 2000-2012 University of Utah and the Flux Group.
# Copyright (c) 2000-2013 University of Utah and the Flux Group.
#
# {{{EMULAB-LGPL
#
......@@ -1427,6 +1427,13 @@ sub mapStaleVlansToSwitches(@)
my @ports = getExperimentVlanPorts($vlan_id);
my %map = mapPortsToDevices(@ports);
#
# Initial set of switches.
#
foreach my $switch (keys(%map)) {
$switches{$switch} = 1;
}
#
# We want to use the DB path if it exists.
#
......
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