mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
nic_router: fix uncaught exception on re-configure
This commit is contained in:
committed by
Christian Helmuth
parent
4802d22527
commit
c32c584f65
@@ -1198,7 +1198,8 @@ void Interface::_ready_to_ack()
|
||||
void Interface::_destroy_dhcp_allocation(Dhcp_allocation &allocation,
|
||||
Domain &local_domain)
|
||||
{
|
||||
local_domain.dhcp_server().free_ip(allocation.ip());
|
||||
try { local_domain.dhcp_server().free_ip(allocation.ip()); }
|
||||
catch (Pointer<Dhcp_server>::Invalid) { }
|
||||
destroy(_alloc, &allocation);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user