mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
nic_router: fix uncaught exception on re-configure
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user