summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2019-08-21 09:12:08 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2019-09-18 09:29:51 +0200
commit687d0dd95ed933859f6a6f0a594ef6757be86130 (patch)
tree6386be9370350fcea0c0fec9ee04d6447f1a798e
parent686c6b003237c3fa6a76823f377d815a4b11a483 (diff)
downloadNetworkManager-687d0dd95ed933859f6a6f0a594ef6757be86130.tar.gz
n-dhcp4: arm timers in bound state
Arm timers when the bound state is reached, otherwise the lease is never renewed. https://github.com/nettools/n-dhcp4/pull/4
-rw-r--r--shared/n-dhcp4/src/n-dhcp4-c-probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/n-dhcp4/src/n-dhcp4-c-probe.c b/shared/n-dhcp4/src/n-dhcp4-c-probe.c
index f1ac3db746..107c18bbad 100644
--- a/shared/n-dhcp4/src/n-dhcp4-c-probe.c
+++ b/shared/n-dhcp4/src/n-dhcp4-c-probe.c
@@ -1009,7 +1009,7 @@ int n_dhcp4_client_probe_transition_accept(NDhcp4ClientProbe *probe, NDhcp4Incom
probe->state = N_DHCP4_CLIENT_PROBE_STATE_BOUND;
- /* XXX: trigger timers */
+ n_dhcp4_client_arm_timer (probe->client);
break;