Changeset 388


Ignore:
Timestamp:
Jan 4, 2018, 11:36:39 PM (6 years ago)
Author:
g7moreau
Message:
  • Remove two test not clear in bad-vlan-id
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r387 r388  
    21542154   LOOP_ON_IP_ADDRESS:
    21552155   for my $ip (keys %{$computerdb}) {
    2156       # to be improve in the future
     2156      # to be really improve in the future
    21572157      next LOOP_ON_IP_ADDRESS if $computerdb->{$ip}{'hostname_fq'} eq ($computerdb->{$ip}{'switch_hostname'} || $computerdb->{$ip}{'switch_description'}); # switch on himself !
    2158       next LOOP_ON_IP_ADDRESS if ($computerdb->{$ip}{'switch_hostname'} || $computerdb->{$ip}{'switch_description'}) eq 'unknow';
    2159       next LOOP_ON_IP_ADDRESS if $computerdb->{$ip}{'switch_port_id'} eq '0';
     2158      #next LOOP_ON_IP_ADDRESS if ($computerdb->{$ip}{'switch_hostname'} || $computerdb->{$ip}{'switch_description'}) eq 'unknow';
     2159      #next LOOP_ON_IP_ADDRESS if $computerdb->{$ip}{'switch_port_id'} eq '0';
    21602160
    21612161      my $ip_timestamp   = $computerdb->{$ip}{'timestamp'};
Note: See TracChangeset for help on using the changeset viewer.