Changeset 2361 for trunk/packages/invirt-dhcp/invirt-dhcpserver
- Timestamp:
- Jul 5, 2009, 8:16:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dhcp/invirt-dhcpserver
r2347 r2361 8 8 from pydhcplib.type_strlist import strlist 9 9 import socket 10 import os 10 11 import IN 11 12 … … 19 20 'router': config.dhcp.gateway, 20 21 'domain_name_server': ','.join(config.dhcp.dns), 21 'ip_address_lease_time': 60*60*24} 22 'ip_address_lease_time': 60*60*24, 23 'server_identifier': socket.gethostbyname(os.uname()[1])} 22 24 23 25 class DhcpBackend:
Note: See TracChangeset
for help on using the changeset viewer.