diff options
author | Thomas Haller <thaller@redhat.com> | 2017-06-09 15:11:24 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-06-09 16:15:07 +0200 |
commit | b9af32b056ae7c93b33644b8a24641a86bf66e2c (patch) | |
tree | f27c245729c909738cc4851f539ea63081d5149e | |
parent | 250e7239511f4c8de6831e3c16d8d5f6fac383dc (diff) | |
download | NetworkManager-b9af32b056ae7c93b33644b8a24641a86bf66e2c.tar.gz |
ppp: fix cancelling timeout when pppd process exits
Otherwise, we get pppd_timed_out() later, which will
emit a DEAD state change at unexpected times.
-rw-r--r-- | src/ppp/nm-ppp-manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ppp/nm-ppp-manager.c b/src/ppp/nm-ppp-manager.c index 575bf11e0d..6343df8bf4 100644 --- a/src/ppp/nm-ppp-manager.c +++ b/src/ppp/nm-ppp-manager.c @@ -643,6 +643,7 @@ ppp_watch_cb (GPid pid, int status, gpointer user_data) priv->pid = 0; priv->ppp_watch_id = 0; + _ppp_cleanup (manager); g_signal_emit (manager, signals[STATE_CHANGED], 0, (guint) NM_PPP_STATUS_DEAD); } |