From: Adam Glasgall Date: Sun, 28 Apr 2013 19:20:09 +0000 (-0400) Subject: pydhcplib is not terribly pythonic X-Git-Tag: 0.0.7~3 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dhcp.git/commitdiff_plain/845282baf01a0d3ea601444117fd29e659e4f4bb pydhcplib is not terribly pythonic --- diff --git a/debian/changelog b/debian/changelog index 30d7788..6151d0d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-dhcp (0.0.6~glasgall4) precise; urgency=low + + * pydhcplib is not terribly pythonic. + + -- Adam Glasgall Sun, 28 Apr 2013 15:18:57 -0400 + invirt-dhcp (0.0.6~glasgall3) precise; urgency=low * pydhcplib api breakage! server_identifier now has to be a "32-bits" diff --git a/invirt-dhcpserver b/invirt-dhcpserver index 1f57a8d..e7f37e8 100755 --- a/invirt-dhcpserver +++ b/invirt-dhcpserver @@ -262,7 +262,7 @@ if '__main__' == __name__: print "invirt-dhcpserver: cannot determine local IP address by looking up %s" % socket.gethostname() sys.exit(1) - dhcp_options['server_identifier'] = ipv4(myip) + dhcp_options['server_identifier'] = ipv4(myip).int() backend = DhcpBackend() server = DhcpServer(backend, options)