Changeset 322 for trunk


Ignore:
Timestamp:
Oct 31, 2017, 11:53:12 AM (6 years ago)
Author:
g7moreau
Message:
  • Small detail in bad-vlan-id export
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r321 r322  
    20822082      {align  => 'left',   align_title => 'left',   title => 'VLAN_Bad'},
    20832083      {is_sep => 1,              title => ' ',       body => ' +-> '},
    2084       {align  => 'left',   align_title => 'left',   title => 'VLAN_Name'},
    2085       {is_sep => 1,              title => ' ',       body => ' ('},
    2086       {align  => 'left',   align_title => 'left',   title => 'VLAN_Number'},
    2087       {is_sep => 1,              title => ' ',       body => ') '},
    2088       {align  => 'left',   align_title => 'left',   title => 'Date_Float'},
     2084      {align  => 'left',   align_title => 'left',   title => 'VLAN_Good'},
     2085      {is_sep => 1,              title => ' ',       body => ' '},
     2086      {align  => 'left',   align_title => 'left',   title => 'VLAN_ID'},
     2087      {is_sep => 1,              title => ' ',       body => ' '},
     2088      {align  => 'left',   align_title => 'left',   title => 'Date_Last'},
    20892089      {is_sep => 1,              title => ' ',       body => ' '},
    20902090      {align  => 'left',   align_title => 'left',   title => 'Date_Good'},
     
    21332133         $switchportdb{$swpt}->{'vlan'},
    21342134         $computerdb->{$src_ip}{'network'},
    2135          $vlan_id,
     2135         '(' . $vlan_id . ')',
    21362136         $date,
    21372137         $src_date,
    21382138         $computerdb->{$src_ip}{'mac_address'},
    2139          $computerdb->{$src_ip}{'hostname_fq'};
     2139         $computerdb->{$src_ip}{'hostname_fq'},
    21402140         );
    21412141
    2142       #printf "%s / %-10s +-> %-10s(%i)  %s %s %s %s\n",
     2142      # printf "%s / %-10s +-> %-10s(%i)  %s %s %s %s\n",
    21432143      #   $swpt, $switchportdb{$swpt}->{'vlan'}, $computerdb->{$src_ip}{'network'}, $vlan_id,
    21442144      #   $date,
     
    21472147      #   $computerdb->{$src_ip}{'hostname_fq'};
    21482148      }
     2149   print $tb_bad->title();
     2150   print $tb_bad->rule('-');
    21492151   print $tb_bad->body();
    21502152   }
Note: See TracChangeset for help on using the changeset viewer.