Changeset 2347 for trunk/packages/invirt-dhcp/invirt-dhcpserver
- Timestamp:
- May 4, 2009, 9:17:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dhcp/invirt-dhcpserver
r1431 r2347 26 26 def findNIC(self, mac): 27 27 database.clear_cache() 28 return database.NIC.query().filter_by(mac_addr=mac). one()28 return database.NIC.query().filter_by(mac_addr=mac).first() 29 29 def find_interface(self, packet): 30 30 chaddr = hwmac(packet.GetHardwareAddress())
Note: See TracChangeset
for help on using the changeset viewer.