mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-09 00:20:30 +01:00
device: fix handling of DHCP grace period
'grace_pending' was never initialized.
Fixes: 0c52c18b56 ('device: unify handling of grace-period for DHCPv4 and DHCPv6 (2)')
This commit is contained in:
parent
e24fd88494
commit
82697358e3
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue