瀏覽代碼

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

Roman Dmitriev 2 年之前
父節點
當前提交
6159cfe422
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;