Skip to content

Commit 2b50896

Browse files
Update lib/GLPI/Agent/SNMP/MibSupport/BrotherNetConfig.pm
Co-authored-by: Guillaume Bougard <[email protected]>
1 parent 6d6246e commit 2b50896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/GLPI/Agent/SNMP/MibSupport/BrotherNetConfig.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ sub updatePortIfType {
101101
foreach my $index (keys %{$brMultiIFType}) {
102102
foreach my $port (keys %{$ports}) {
103103
next unless defined($ports->{$port}->{IFNAME}) && defined($brMultiIFNodeType->{$index});
104-
if ($ports->{$port}->{IFNAME} eq $brMultiIFNodeType->{$index}) {
104+
if ($ports->{$port}->{IFNAME} eq getCanonicalString($brMultiIFNodeType->{$index})) {
105105
# wirelesslan(2)
106106
if (defined($brMultiIFType->{$index}) && isInteger($brMultiIFType->{$index}) && int($brMultiIFType->{$index}) == 2) {
107107
# ieee80211(71)

0 commit comments

Comments
 (0)