From 687d0dd95ed933859f6a6f0a594ef6757be86130 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 21 Aug 2019 09:12:08 +0200 Subject: 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 --- shared/n-dhcp4/src/n-dhcp4-c-probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared') 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; -- cgit v1.2.1