From bb890feb75093513194058a5fb2d7728d5a07283 Mon Sep 17 00:00:00 2001 From: magic_rb Date: Fri, 9 Aug 2024 14:33:50 +0200 Subject: [PATCH 3/3] Wait for ip up/down scripts Signed-off-by: magic_rb --- pppd/ipcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pppd/ipcp.c b/pppd/ipcp.c index 5d9ff11..49f1e9a 100644 --- a/pppd/ipcp.c +++ b/pppd/ipcp.c @@ -1996,7 +1996,7 @@ ipcp_up(fsm *f) */ if (ipcp_script_state == s_down && ipcp_script_pid == 0) { ipcp_script_state = s_up; - ipcp_script(path_ipup, 0); + ipcp_script(path_ipup, 1); } } @@ -2045,7 +2045,7 @@ ipcp_down(fsm *f) /* Execute the ip-down script */ if (ipcp_script_state == s_up && ipcp_script_pid == 0) { ipcp_script_state = s_down; - ipcp_script(path_ipdown, 0); + ipcp_script(path_ipdown, 1); } } -- 2.44.1