Changeset 185 for trunk


Ignore:
Timestamp:
Nov 8, 2016, 5:48:15 PM (8 years ago)
Author:
g7moreau
Message:
  • Remove a warning about switch_port_hr
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r184 r185  
    738738   for my $ip (keys %{$computerdb}) {
    739739
    740       next LOOP_ON_IP_ADDRESS if exists $computerdb->{$ip}{switch_port_hr};
     740      next LOOP_ON_IP_ADDRESS if exists $computerdb->{$ip}{switch_port_hr} and defined $computerdb->{$ip}{switch_port_hr};
    741741     
    742742      $computerdb->{$ip}{switch_port_hr} = $computerdb->{$ip}{switch_port};
Note: See TracChangeset for help on using the changeset viewer.