From 706493747ac6e7d99171a06de391c4a93f3df094 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Fri, 9 Nov 2001 10:33:42 +0000 Subject: [PATCH] cancel maxconnect timeout when the link goes down --- pppd/auth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pppd/auth.c b/pppd/auth.c index 1a8cb34..bff01a7 100644 --- a/pppd/auth.c +++ b/pppd/auth.c @@ -32,7 +32,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: auth.c,v 1.70 2001/04/27 23:13:06 paulus Exp $" +#define RCSID "$Id: auth.c,v 1.71 2001/11/09 10:33:42 paulus Exp $" #include #include @@ -741,6 +741,7 @@ np_down(unit, proto) { if (--num_np_up == 0) { UNTIMEOUT(check_idle, NULL); + UNTIMEOUT(connect_time_expired, NULL); new_phase(PHASE_NETWORK); } } -- 2.39.2