summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
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 b1ad1c8fe..f70a4482c 100755
--- a/bin/nova-dhcpbridge
+++ b/bin/nova-dhcpbridge
@@ -69,7 +69,7 @@ def init_leases(interface):
"""Get the list of hosts for an interface."""
net = model.get_network_by_interface(interface)
res = ""
- for address in net.address_objs:
+ for address in net.assigned_objs:
res += "%s\n" % linux_net.host_dhcp(address)
return res