소스 검색

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;