From 7fdebc6a09c93c0b55831bd546be788187fd23b6 Mon Sep 17 00:00:00 2001 From: Martin Stein Date: Fri, 27 Aug 2021 19:29:35 +0200 Subject: [PATCH] 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. --- repos/os/src/server/nic_router/dhcp_client.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/repos/os/src/server/nic_router/dhcp_client.cc b/repos/os/src/server/nic_router/dhcp_client.cc index 4880e12a49..1341bcfc56 100644 --- a/repos/os/src/server/nic_router/dhcp_client.cc +++ b/repos/os/src/server/nic_router/dhcp_client.cc @@ -37,6 +37,7 @@ void append_param_req_list(Dhcp_options &dhcp_opts) data.append_param_req(); data.append_param_req(); data.append_param_req(); + data.append_param_req(); data.append_param_req(); data.append_param_req(); });