summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorSalvatore Orlando <salvatore.orlando@eu.citrix.com>2011-03-14 16:50:35 +0000
committerSalvatore Orlando <salvatore.orlando@eu.citrix.com>2011-03-14 16:50:35 +0000
commit7649963c7bcda67744988d6a65747c8b67d4a0f1 (patch)
treec60509a75e5024dacb6ec4d84c3af71a86f93322 /bin
parente2aed1036c0fb61a2924ffa28d66f87539d43ba1 (diff)
parent7fde254ec53aeb88301e5592853961b2b9c87ef4 (diff)
merge trunk
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nova-dhcpbridge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-dhcpbridge b/bin/nova-dhcpbridge
index 3dd9de367..7ef51feba 100755
--- a/bin/nova-dhcpbridge
+++ b/bin/nova-dhcpbridge
@@ -94,7 +94,7 @@ def init_leases(interface):
"""Get the list of hosts for an interface."""
ctxt = context.get_admin_context()
network_ref = db.network_get_by_bridge(ctxt, interface)
- return linux_net.get_dhcp_hosts(ctxt, network_ref['id'])
+ return linux_net.get_dhcp_leases(ctxt, network_ref['id'])
def main():