summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-02-21 13:02:34 +0100
committerThomas Haller <thaller@redhat.com>2022-02-24 09:38:54 +0100
commit7c874ed4565623a89f417c026103e7925e775690 (patch)
tree89f28ad3770ce7be2a5d10de3963461b863e795d
parent2ebf9a0e89eadf11d9acdacd008e8655d28a9ad2 (diff)
downloadNetworkManager-7c874ed4565623a89f417c026103e7925e775690.tar.gz
core: use NM_SHUTDOWN_TIMEOUT_5000_MSEC define in _ppp_manager_stop()
The define makes it clearer that there is an important relationship between the timeout for the async operation, and the wrapup time when NetworkManager is quitting. Well, not for the time being. But in the future, when we rework the quitting of NetworkManager.
-rw-r--r--src/core/ppp/nm-ppp-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ppp/nm-ppp-manager.c b/src/core/ppp/nm-ppp-manager.c
index dd6b1bc7f0..213e3761cc 100644
--- a/src/core/ppp/nm-ppp-manager.c
+++ b/src/core/ppp/nm-ppp-manager.c
@@ -1246,7 +1246,7 @@ _ppp_manager_stop(NMPPPManager *self,
SIGTERM,
LOGD_PPP,
"pppd",
- 5000,
+ NM_SHUTDOWN_TIMEOUT_5000_MSEC,
_stop_child_cb,
handle);