From f0dee2c38ca3e4eeca64ea4679b582c4373dbbf4 Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 26 Aug 1998 17:39:37 +0000 Subject: Put the IP buffer queues into struct ipcp. Forgotten by: me --- usr.sbin/ppp/ipcp.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr.sbin/ppp/ipcp.c') diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index d61016f..dfd8ce9 100644 --- a/usr.sbin/ppp/ipcp.c +++ b/usr.sbin/ppp/ipcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ipcp.c,v 1.62 1998/06/27 23:48:45 brian Exp $ + * $Id: ipcp.c,v 1.63 1998/08/07 18:42:49 brian Exp $ * * TODO: * o More RFC1772 backward compatibility @@ -55,12 +55,12 @@ #include "iplist.h" #include "throughput.h" #include "slcompress.h" +#include "lqr.h" +#include "hdlc.h" #include "ipcp.h" #include "filter.h" #include "descriptor.h" #include "vjcomp.h" -#include "lqr.h" -#include "hdlc.h" #include "async.h" #include "ccp.h" #include "link.h" @@ -375,6 +375,7 @@ ipcp_Init(struct ipcp *ipcp, struct bundle *bundle, struct link *l, ipcp->peer_ifip.s_addr = INADDR_ANY; throughput_init(&ipcp->throughput); + memset(ipcp->Queue, '\0', sizeof ipcp->Queue); ipcp_Setup(ipcp); } -- cgit v1.1