We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ed339d commit 45d0572Copy full SHA for 45d0572
lib/GLPI/Agent/SNMP/MibSupport/Ubnt.pm
@@ -33,13 +33,13 @@ our $mibSupport = [
33
34
sub getFirmware {
35
my ($self) = @_;
36
-
+
37
return getCanonicalString($self->get(unifiApSystemVersion));
38
}
39
40
sub getModel {
41
42
43
return getCanonicalString($self->get(unifiApSystemModel));
44
45
@@ -99,6 +99,11 @@ sub run {
99
$device->{PORTS}->{PORT}->{$port}->{IFNAME} .= " (5GHz)";
100
101
102
+ # Replaces the port iftype from "Ethernet" (6) to "WiFi" (71)
103
+ if($device->{PORTS}->{PORT}->{$port}->{IFTYPE} == 6) {
104
+ $device->{PORTS}->{PORT}->{$port}->{IFTYPE} = 71
105
+ }
106
107
last;
108
109
0 commit comments