netconfig: Actually use the DNS override values

In netconfig_load_settings apply the DNS overrides strings we've loaded
instead of leaking them.

Fixes: ad228461ab ("netconfig: Move loading settings to new method, refactor")
This commit is contained in:
Andrew Zaborowski 2021-09-03 22:06:39 +02:00 committed by Denis Kenzior
parent 59d4e86bc5
commit 48c5e8d215
1 changed files with 2 additions and 0 deletions

View File

@ -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: