commit 48c5e8d215d46c00c0a3714775565ad3f6037256
parent 59d4e86bc5b62c4eb251db7d3ee326183eee4acb
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date: Fri, 3 Sep 2021 22:06:39 +0200
netconfig: Actually use the DNS override values
In netconfig_load_settings apply the DNS overrides strings we've loaded
instead of leaking them.
Fixes: ad228461abbf ("netconfig: Move loading settings to new method, refactor")
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/netconfig.c b/src/netconfig.c
@@ -1293,6 +1293,8 @@ bool netconfig_load_settings(struct netconfig *netconfig,
mac_address, ETH_ALEN);
netconfig->active_settings = active_settings;
+ netconfig->dns4_overrides = dns4_overrides;
+ netconfig->dns6_overrides = dns6_overrides;
return true;
err_v6_addr: