Fix typo
[invirt/packages/invirt-dhcp.git] / invirt-dhcpserver
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