Changeset 3789 in /cluster/svnroot


Ignore:
Timestamp:
Aug 30, 2012 10:21:29 PM (8 years ago)
Author:
skylar
Message:

make sure to use package nic_conf (#729)

File:
1 edited

Legend:

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

    r3788 r3789  
    25412541            = $self->run_nic_dhcp($nic,'/etc/dhcp/dhclient.conf-any');
    25422542        if(defined($response)) {
    2543             $nic_conf->{$nic} = $response;
    2544             $nic_conf->{$nic}->{'dhcp_source'} = 'OTHER';
     2543            $self->{nic_conf}->{$nic} = $response;
     2544            $self->{nic_conf}->{$nic}->{'dhcp_source'} = 'OTHER';
    25452545        }
    25462546    }
    25472547    # Fall through for interfaces with no DHCP
    25482548    if(!defined($response)) {
    2549         $nic_conf->{$nic}{'dhcp'} = 0;
     2549        $self->{nic_conf}->{$nic}{'dhcp'} = 0;
    25502550    }
    25512551
Note: See TracChangeset for help on using the changeset viewer.