filter the dhcp to only respond to requests from this host
This commit is contained in:
		@@ -91,7 +91,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_leases(ctxt, network_ref['id'])
 | 
			
		||||
    return linux_net.get_dhcp_leases(ctxt, network_ref)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def main():
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user