about summary refs log tree commit diff
path: root/src/dhcp/nm-dhcp-nettools.c
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2020-03-13 00:44:14 +0100
committerMichael Biebl <biebl@debian.org>2020-03-13 00:44:14 +0100
commitb012fa6e1d808e0736c009799c62d835cbfcc1dd (patch)
treeff9a3777f6740e91b55f0a566914bfe4ab37935f /src/dhcp/nm-dhcp-nettools.c
parente536d40eaea5dcdc0743b0a5e8e17faa46608a50 (diff)
New upstream version 1.22.10 upstream/1.22.10
Diffstat (limited to 'src/dhcp/nm-dhcp-nettools.c')
-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;
 	}