diff options
Diffstat (limited to 'src/network/networkd-manager.c')
-rw-r--r-- | src/network/networkd-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index e8d4b042d4..0701dd02dd 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -892,7 +892,7 @@ static int manager_save(Manager *m) { continue; /* Secondly, add the entries acquired via DHCP */ - if (link->network->dhcp_dns) { + if (link->network->dhcp_use_dns) { const struct in_addr *addresses; r = sd_dhcp_lease_get_dns(link->dhcp_lease, &addresses); @@ -904,7 +904,7 @@ static int manager_save(Manager *m) { return r; } - if (link->network->dhcp_ntp) { + if (link->network->dhcp_use_ntp) { const struct in_addr *addresses; r = sd_dhcp_lease_get_ntp(link->dhcp_lease, &addresses); @@ -916,7 +916,7 @@ static int manager_save(Manager *m) { return r; } - if (link->network->dhcp_domains) { + if (link->network->dhcp_use_domains) { const char *domainname; r = sd_dhcp_lease_get_domainname(link->dhcp_lease, &domainname); |