pydhcplib is not terribly pythonic
authorAdam Glasgall <glasgall@mit.edu>
Sun, 28 Apr 2013 19:20:09 +0000 (15:20 -0400)
committerAdam Glasgall <glasgall@mit.edu>
Sun, 28 Apr 2013 19:20:09 +0000 (15:20 -0400)
debian/changelog
invirt-dhcpserver

index 30d7788..6151d0d 100644 (file)
@@ -1,3 +1,9 @@
+invirt-dhcp (0.0.6~glasgall4) precise; urgency=low
+
+  * pydhcplib is not terribly pythonic.
+
+ -- Adam Glasgall <glasgall@mit.edu>  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"
index 1f57a8d..e7f37e8 100755 (executable)
@@ -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)