Fix incorrect FDB ID to VLAN ID mapping in Bridge and L3:Enterasys
This commit is contained in:
@@ -5,6 +5,7 @@ version 3.24
|
|||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|
||||||
* Fix single instance leafs defined in %FUNCS to behave like table leafs
|
* Fix single instance leafs defined in %FUNCS to behave like table leafs
|
||||||
|
* Fix incorrect FDB ID to VLAN ID mapping in Bridge and L3:Enterasys
|
||||||
|
|
||||||
version 3.23 (2014-12-09)
|
version 3.23 (2014-12-09)
|
||||||
|
|
||||||
|
|||||||
@@ -224,9 +224,9 @@ sub qb_fdb_index {
|
|||||||
|
|
||||||
# Strip the TimeFilter
|
# Strip the TimeFilter
|
||||||
my $vl_fdb_index = {};
|
my $vl_fdb_index = {};
|
||||||
for my $orig (keys(%$qb_fdb_ids)) {
|
for my $fdb_entry (keys(%$qb_fdb_ids)) {
|
||||||
(my $new = $orig) =~ s/^\d+\.//;
|
(my $vlan = $fdb_entry) =~ s/^\d+\.//;
|
||||||
$vl_fdb_index->{$new} = $qb_fdb_ids->{$orig};
|
$vl_fdb_index->{$qb_fdb_ids->{$fdb_entry}} = $vlan;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $vl_fdb_index;
|
return $vl_fdb_index;
|
||||||
|
|||||||
@@ -163,9 +163,9 @@ sub qb_fdb_index {
|
|||||||
|
|
||||||
# Strip the TimeFilter
|
# Strip the TimeFilter
|
||||||
my $vl_fdb_index = {};
|
my $vl_fdb_index = {};
|
||||||
for my $orig (keys(%$qb_fdb_ids)) {
|
for my $fdb_entry (keys(%$qb_fdb_ids)) {
|
||||||
(my $new = $orig) =~ s/^\d+\.//;
|
(my $vlan = $fdb_entry) =~ s/^\d+\.//;
|
||||||
$vl_fdb_index->{$new} = $qb_fdb_ids->{$orig};
|
$vl_fdb_index->{$qb_fdb_ids->{$fdb_entry}} = $vlan;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $vl_fdb_index;
|
return $vl_fdb_index;
|
||||||
|
|||||||
Reference in New Issue
Block a user