cancel maxconnect timeout when the link goes down
authorPaul Mackerras <paulus@samba.org>
Fri, 9 Nov 2001 10:33:42 +0000 (10:33 +0000)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Nov 2001 10:33:42 +0000 (10:33 +0000)
pppd/auth.c

index 1a8cb34ed0c3b460babd9fd33041854cb90110e2..bff01a7b432d54d1b6550b806eb6675a7a104b22 100644 (file)
@@ -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 <stdio.h>
 #include <stddef.h>
@@ -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);
     }
 }