[#237] Fix storing VLAN membership on switch ports

This commit is contained in:
Jeroen van Ingen
2015-09-28 16:18:57 +02:00
parent bfeb978dcb
commit cb68798814
2 changed files with 5 additions and 1 deletions

View File

@@ -4,6 +4,10 @@
* Clarify question in DB schema deploy script
[BUG FIXES]
* [#247] Fix storing VLAN membership on switch ports
2.033001 - 2015-08-27
[BUG FIXES]

View File

@@ -433,8 +433,8 @@ sub store_vlans {
# build device port vlans suitable for DBIC
my @portvlans = ();
my %port_vseen = ();
foreach my $entry (keys %$i_vlan_membership) {
my %port_vseen = ();
my $port = $interfaces->{$entry};
next unless defined $port;