From: Paul Mackerras Date: Fri, 9 Nov 2001 10:33:42 +0000 (+0000) Subject: cancel maxconnect timeout when the link goes down X-Git-Tag: ppp-2.4.7~471 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=706493747ac6e7d99171a06de391c4a93f3df094;hp=91f441b35caadb42b7d20017d3f4c47031a8db5b cancel maxconnect timeout when the link goes down --- 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); } }