Fix undefined value error in Bridge.pm i_vlan
This commit is contained in:
6
Changes
6
Changes
@@ -1,3 +1,9 @@
|
|||||||
|
Version 3.78 (2021-09-08)
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* Fix undefined value error in Bridge.pm i_vlan
|
||||||
|
|
||||||
Version 3.77 (2021-09-04)
|
Version 3.77 (2021-09-04)
|
||||||
|
|
||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|||||||
@@ -366,7 +366,7 @@ sub i_vlan {
|
|||||||
my $bridge = shift;
|
my $bridge = shift;
|
||||||
my $partial = shift;
|
my $partial = shift;
|
||||||
|
|
||||||
my $index = $bridge->bp_index();
|
my $index = $bridge->bp_index() or return {};
|
||||||
|
|
||||||
# If given a partial it will be an ifIndex, we need to use dot1dBasePort
|
# If given a partial it will be an ifIndex, we need to use dot1dBasePort
|
||||||
if ($partial) {
|
if ($partial) {
|
||||||
|
|||||||
Reference in New Issue
Block a user