Changeset 176


Ignore:
Timestamp:
Aug 24, 2016, 5:46:59 PM (8 years ago)
Author:
g7moreau
Message:
  • Add vlan_id in bad-vlan-id command
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r175 r176  
    15451545      my $src_date = sprintf '%04i-%02i-%02i/%02i:%02i', $year, $mon, $mday, $hour, $min;
    15461546
    1547       printf "%s / %-10s +-> %-10s  %s %s %s %s\n",
    1548          $swpt, $swithportdb{$swpt}->{vlan}, $computerdb->{$src_ip}{network},
     1547      my $vlan_id = get_current_vlan_id($computerdb->{$src_ip}{network});
     1548
     1549      printf "%s / %-10s +-> %-10s(%i)  %s %s %s %s\n",
     1550         $swpt, $swithportdb{$swpt}->{vlan}, $computerdb->{$src_ip}{network}, $vlan_id,
    15491551         $date,
    15501552         $src_date,
Note: See TracChangeset for help on using the changeset viewer.