3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-27 02:32:52 +01:00

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

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: