Fix typo 0.0.11
authorMitchell E Berger <mitchb@mit.edu>
Tue, 5 Jun 2018 03:51:06 +0000 (23:51 -0400)
committerMitchell E Berger <mitchb@mit.edu>
Tue, 5 Jun 2018 03:54:46 +0000 (23:54 -0400)
debian/changelog
invirt-dhcpserver

index e0c4b23..8a3ff45 100644 (file)
@@ -1,3 +1,10 @@
+invirt-dhcp (0.0.11) unstable; urgency=low
+
+  * Fix the typo that causes what once took quadratic time (2ms) to
+    now take infinite time.
+
+ -- Mitchell Berger <mitchb@mit.edu>  Mon, 04 Jun 2018 23:03:00 -0400
+
 invirt-dhcp (0.0.10) unstable; urgency=low
 
   * Remove quadratic netifaces.interfaces() call
index 6ffcbda..ddad34e 100755 (executable)
@@ -99,7 +99,7 @@ class DhcpBackend:
                     # in use.
                     for viftype in ('tap', 'vif'):
                         vif = '%s%s.%s' % (viftype, domid, vifnum)
-                        if Interface.exists(vif):
+                        if Interfaces.exists(vif):
                             self.add_route_and_arp(nic.ip, vif, nic.gateway)
                             xsc.close()
                             return vif