genode/repos/os
Martin Stein b82d83e271 nic_router: handle bad DNS in DHCP ACK gracefully
The DHCP client of the NIC router used to end up in an uncaught exception if
an IP address in the DNS server option of a DHCP ACK was invalid. This commit
makes the 'Dns_server' constructor (where the exception originated from)
private and instead introduces a public lambda method 'construct' that calls
one lambda argument on success and another on failure. This is also in line
with the most recent changes to the 'find_by_*' methods of other classes in
the NIC router and contributes to the goal of reducing expensive exception
handling.

Fixes #4465
2022-09-19 14:00:34 +02:00
..
doc Remove SIGNAL/CAP/RAM services from run scripts 2022-04-13 08:08:00 +02:00
include xml_node: change with_sub_node signature 2022-09-19 14:00:33 +02:00
lib vfs: implement plugin for 'Capture' session 2022-04-13 09:29:03 +02:00
recipes Remove pseudo targets for building shared libs 2022-09-19 14:00:32 +02:00
run Remove pseudo targets for building shared libs 2022-09-19 14:00:32 +02:00
src nic_router: handle bad DNS in DHCP ACK gracefully 2022-09-19 14:00:34 +02:00
xsd Remove NIC server role from drivers 2022-05-25 12:19:31 +02:00
README API documentation refinements 2017-05-31 13:16:21 +02:00

This source-code repository contains genuine low-level OS components and
interfaces of Genode. It solely depends on the framework's base API.