Ignore:
Timestamp:
Jul 5, 2009, 8:21:41 PM (15 years ago)
Author:
broder
Message:

Revert the server identifier in the DHCP server. Including the server
ID implies that we're capable of handling unicast communication with
DHCP clients, which we're currently not.

This reverts commit 2361.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dhcp/invirt-dhcpserver

    r2361 r2362  
    88from pydhcplib.type_strlist import strlist
    99import socket
    10 import os
    1110import IN
    1211
     
    2019                'router': config.dhcp.gateway,
    2120                '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}
    2422
    2523class DhcpBackend:
Note: See TracChangeset for help on using the changeset viewer.