Ver Fonte

bugfix: always analyze ifindex_map for all snmp mac-address-tables

Roman Dmitriev há 2 anos atrás
pai
commit
6159cfe422
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      scripts/eyelib/snmp.pm

+ 1 - 1
scripts/eyelib/snmp.pm

@@ -260,7 +260,7 @@ sub get_fdb_table {
 
     my $ifindex_map = get_ifmib_index_table($host,$community,$version);
     my $fdb1=get_mac_table($host,$community,$fdb_table_oid,$version,$ifindex_map);
-    my $fdb2=get_mac_table($host,$community,$fdb_table_oid2,$version);
+    my $fdb2=get_mac_table($host,$community,$fdb_table_oid2,$version,$ifindex_map);
 
     my $fdb3;