Changeset 3234 in /cluster/svnroot


Ignore:
Timestamp:
Jun 14, 2011 8:04:11 PM (9 years ago)
Author:
skylar
Message:

checking for definedness (#636)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/trunk/trees/usr/local/lib/site_perl/5.10.0/Bccd.pm

    r3230 r3234  
    22622262            if((defined($nic_conf->{$nic}->{'dhcp_source'}) && $nic_conf->{$nic}->{'dhcp_source'} ne 'BCCD') || !defined($dhcp_source)) {
    22632263                my $ip = $self->get_nic_ip($nic);
    2264                 push(@dhcp_nics,($nic,"($ip)"));
     2264                push(@dhcp_nics,($nic,defined($ip) ? "($ip)" : "()"));
    22652265            }
    22662266        }
Note: See TracChangeset for help on using the changeset viewer.