diff options
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 6497090bc0..9eb2e89091 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -1763,7 +1763,7 @@ int link_save(Link *link) { fputs("\n", f); - if (link->network->dhcp_domainname && + if (link->network->dhcp_domains && link->dhcp_lease) { const char *domainname; |