Changeset 3233 in /cluster/svnroot


Ignore:
Timestamp:
Jun 14, 2011 7:59:37 PM (9 years ago)
Author:
skylar
Message:

don't try including IP address if not set on NIC (#636)

File:
1 edited

Legend:

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

    r3219 r3233  
    22562256            if((defined($nic_conf->{$nic}->{'dhcp_source'}) && $nic_conf->{$nic}->{'dhcp_source'} ne 'BCCD') || !defined($dhcp_source)) {
    22572257                my $ip = $self->get_nic_ip($nic);
    2258                 push(@dhcp_nics,($nic,"($ip)"));
     2258                push(@dhcp_nics,($nic,defined($ip) ? "($ip)" : "()"));
    22592259            }
    22602260        }
Note: See TracChangeset for help on using the changeset viewer.