svn path=/trunk/dhcp/; revision=230
Log.Output(Log.debug,"dhcp_backend : Discover ")
chaddr = hwmac(packet.GetHardwareAddress())
nic = self.findNIC(str(chaddr))
- if nic is None:
+ if nic is None or nic.machine is None:
return False
ip = nic.ip
if ip is None: #Deactivated?
return False
- hostname = nic.hostname
+ hostname = nic.machine.name
if hostname is not None:
hostname += ".servers.csail.mit.edu"
if ip is not None: