- Timestamp:
- Oct 29, 2007, 1:20:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dhcp/dhcpserver.py
r202 r230 105 105 chaddr = hwmac(packet.GetHardwareAddress()) 106 106 nic = self.findNIC(str(chaddr)) 107 if nic is None :107 if nic is None or nic.machine is None: 108 108 return False 109 109 ip = nic.ip 110 110 if ip is None: #Deactivated? 111 111 return False 112 hostname = nic. hostname112 hostname = nic.machine.name 113 113 if hostname is not None: 114 114 hostname += ".servers.csail.mit.edu"
Note: See TracChangeset
for help on using the changeset viewer.