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:
parent
59d4e86bc5
commit
48c5e8d215
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue