mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
network: fix use of wrong flag
Fixes a bug introduced by 86a66e9b95 (v255).
This commit is contained in:
@@ -190,7 +190,7 @@ static int link_put_sip(Link *link, OrderedSet **s) {
|
||||
assert(link->network);
|
||||
assert(s);
|
||||
|
||||
if (link->dhcp_lease && link->network->dhcp_use_ntp) {
|
||||
if (link->dhcp_lease && link->network->dhcp_use_sip) {
|
||||
const struct in_addr *addresses;
|
||||
|
||||
r = sd_dhcp_lease_get_sip(link->dhcp_lease, &addresses);
|
||||
|
||||
Reference in New Issue
Block a user