From: Mitchell E Berger Date: Tue, 5 Jun 2018 03:51:06 +0000 (-0400) Subject: Fix typo X-Git-Tag: 0.0.11^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dhcp.git/commitdiff_plain/c7137ab87b565e333d86ee161c1b54f5c9d8b187?ds=inline Fix typo --- diff --git a/debian/changelog b/debian/changelog index e0c4b23..8a3ff45 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 04 Jun 2018 23:03:00 -0400 + invirt-dhcp (0.0.10) unstable; urgency=low * Remove quadratic netifaces.interfaces() call diff --git a/invirt-dhcpserver b/invirt-dhcpserver index 6ffcbda..ddad34e 100755 --- a/invirt-dhcpserver +++ b/invirt-dhcpserver @@ -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