diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2020-02-18 09:52:11 +0100 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2020-02-18 09:59:32 +0100 |
commit | 82697358e348274ebdbf42bbc526e753c1ae36e5 (patch) | |
tree | 4236adaa300dd0d5d75028ef280d268319522930 | |
parent | e24fd884941d40209bf6c159be6a4cb61812572a (diff) | |
download | NetworkManager-82697358e348274ebdbf42bbc526e753c1ae36e5.tar.gz |
device: fix handling of DHCP grace period
'grace_pending' was never initialized.
Fixes: 0c52c18b5632 ('device: unify handling of grace-period for DHCPv4 and DHCPv6 (2)')
-rw-r--r-- | src/devices/nm-device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 28b7107752..dbda4d8501 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -7956,6 +7956,8 @@ dhcp_grace_period_start (NMDevice *self, int addr_family) self); } + priv->dhcp_data_x[IS_IPv4].grace_pending = TRUE; + return TRUE; } static void |