Changeset 2361


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

In invirt-dhcp:

  • Include the server identifier field in DHCPOFFERs (LP: #395696).
Location:
trunk/packages/invirt-dhcp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dhcp/debian/changelog

    r2347 r2361  
     1invirt-dhcp (0.0.3) unstable; urgency=low
     2
     3  * Include the server identifier field in DHCPOFFERs (LP: #395696).
     4
     5 -- Evan Broder <broder@mit.edu>  Sun, 05 Jul 2009 17:15:09 -0700
     6
    17invirt-dhcp (0.0.2) unstable; urgency=low
    28
  • trunk/packages/invirt-dhcp/invirt-dhcpserver

    r2347 r2361  
    88from pydhcplib.type_strlist import strlist
    99import socket
     10import os
    1011import IN
    1112
     
    1920                'router': config.dhcp.gateway,
    2021                '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])}
    2224
    2325class DhcpBackend:
Note: See TracChangeset for help on using the changeset viewer.