mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-18 17:00:26 +00:00
nic_router: let DHCP client request domain name
The NIC router parses, stores and forwards DNS domain names from DHCP replies. Yet the routers DHCP client used to not request DNS domain-name information on DHCP requests. This caused DHCP servers to skip this information on their replies although it was available. This commit fixes the issue by adding the DNS domain name code to the request parameter list of requests from the routers DHCP client.
This commit is contained in:
parent
4782f9376c
commit
7fdebc6a09
@ -37,6 +37,7 @@ void append_param_req_list(Dhcp_options &dhcp_opts)
|
||||
data.append_param_req<Dhcp_packet::Server_ipv4>();
|
||||
data.append_param_req<Dhcp_packet::Ip_lease_time>();
|
||||
data.append_param_req<Dhcp_packet::Dns_server_ipv4>();
|
||||
data.append_param_req<Dhcp_packet::Domain_name>();
|
||||
data.append_param_req<Dhcp_packet::Subnet_mask>();
|
||||
data.append_param_req<Dhcp_packet::Router_ipv4>();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user