about summary refs log tree commit diff
path: root/src/dhcp
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2020-03-13 16:23:07 +0100
committerSebastien Bacher <seb128@ubuntu.com>2020-03-13 16:23:07 +0100
commit8f6881ac06714ef99cc470a03e7ac0ce1af49a16 (patch)
treefcb5e39f41b8135e4b3a41b6951f21473e10fa5e /src/dhcp
parentee7b95167028fdbb2a4bd32aa686e27817d8dfe0 (diff)
parentb012fa6e1d808e0736c009799c62d835cbfcc1dd (diff)
Merge branch 'upstream/latest' of https://salsa.debian.org/utopia-team/network-manager into upstream/latest
Diffstat (limited to 'src/dhcp')
-rw-r--r--src/dhcp/nm-dhcp-nettools.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcp/nm-dhcp-nettools.c b/src/dhcp/nm-dhcp-nettools.c
index 45ff46f5..622251a3 100644
--- a/src/dhcp/nm-dhcp-nettools.c
+++ b/src/dhcp/nm-dhcp-nettools.c
@@ -1073,6 +1073,7 @@ dhcp4_event_cb (GIOChannel *source,
 		 * a predefined number of times (possibly infinite).
 		 */
 		_LOGE ("error %d dispatching events", r);
+		priv->event_id = 0;
 		nm_dhcp_client_set_state (NM_DHCP_CLIENT (self), NM_DHCP_STATE_FAIL, NULL, NULL);
 		return G_SOURCE_REMOVE;
 	}