Changeset 243


Ignore:
Timestamp:
Sep 7, 2017, 10:37:39 PM (7 years ago)
Author:
g7moreau
Message:
  • initialize flag
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r242 r243  
    804804   # On H3C, port number and port index are not the same
    805805   # Double SNMP request to get the name
     806   $flag ||= 'distinct';
    806807   my $swport_index = $swport_num;
    807808
    808    if ($flag ne 'index') {
     809   if ($flag eq 'distinct') {
    809810      my $research_index = $OID_NUMBER{ifIndex} .'.'. $swport_num;
    810811      my $result_index = $snmp_session->get_request(
Note: See TracChangeset for help on using the changeset viewer.