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:27:57 +0100
committerSebastien Bacher <seb128@ubuntu.com>2020-03-13 16:27:57 +0100
commita46c3e57291e64e9258698dbe5b0ef11def833c5 (patch)
treede9a6dcb3ab058a02fa0a2d9e7d1b3572b588583 /src/dhcp
parent767904eab32f132502230df57e146cb822dad7ba (diff)
parent19e73abd360f0198f94ce49f36ddf009056f6324 (diff)
Merge remote-tracking branch 'salsa/debian/master' into ubuntu/master
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;
 	}