+ add security on aruba
This commit is contained in:
parent
caefa85d40
commit
1f5d5d0d9c
|
@ -401,6 +401,8 @@ sub manage_selection {
|
|||
my $result = $self->{snmp}->map_instance(mapping => $mapping, results => $self->{results}->{$oid_wlsxUserEntry}, instance => $instance);
|
||||
my $result2 = $self->{snmp}->map_instance(mapping => $mapping2, results => $self->{results}->{$mapping2->{nUserApBSSID}->{oid}}, instance => $instance);
|
||||
|
||||
# security
|
||||
next if (!defined($result2->{nUserApBSSID}));
|
||||
my $bssid = join('.', unpack('C*', $result2->{nUserApBSSID}));
|
||||
next if (defined($self->{option_results}->{filter_ip_address}) && $self->{option_results}->{filter_ip_address} ne '' &&
|
||||
$map_ap{$bssid}->{ip} !~ /$self->{option_results}->{filter_ip_address}/);
|
||||
|
|
Loading…
Reference in New Issue