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