diff options
| author | Soren Hansen <soren@linux2go.dk> | 2011-03-14 15:45:15 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-03-14 15:45:15 +0000 |
| commit | 7fde254ec53aeb88301e5592853961b2b9c87ef4 (patch) | |
| tree | 867af4ed8bb57d6dfbfae7e2fb06775f0f964605 /bin | |
| parent | ab982a009f2ab608a1acbe2d5cc2d0fb6b488b53 (diff) | |
| parent | 04838ee14d0ac6df0052fba465cdf7f765c66ae5 (diff) | |
Make nova-dhcpbridge output lease information in dnsmasq's leasesfile format.
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/nova-dhcpbridge | 2 |
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(): |
