From e47c43b4fc04ac586c00fa902e1254320b31cb4b Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 25 Aug 1998 17:48:43 +0000 Subject: If we've got a full output buffer queue and cannot send anything for two mintues (see ``set choked'' and ``show bundle''), nuke the ip, mp and link level buffer queues. This should fix problems where ``ppp -auto'' seems to stop responding after failing to connect to the peer a few times. --- usr.sbin/ppp/physical.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/ppp/physical.h') diff --git a/usr.sbin/ppp/physical.h b/usr.sbin/ppp/physical.h index 4e07d07..2803248 100644 --- a/usr.sbin/ppp/physical.h +++ b/usr.sbin/ppp/physical.h @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: physical.h,v 1.2 1998/05/21 21:47:40 brian Exp $ + * $Id: physical.h,v 1.3 1998/05/29 18:33:10 brian Exp $ * */ @@ -100,3 +100,4 @@ extern void physical_Logout(struct physical *); extern int physical_RemoveFromSet(struct physical *, fd_set *, fd_set *, fd_set *); extern int physical_SetMode(struct physical *, int); +extern void physical_DeleteQueue(struct physical *); -- cgit v1.1