mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08: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