summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ipcp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-08-26 17:39:37 +0000
committerbrian <brian@FreeBSD.org>1998-08-26 17:39:37 +0000
commitf0dee2c38ca3e4eeca64ea4679b582c4373dbbf4 (patch)
tree82b255b761af56aea6d84d320188e4c0db94aae0 /usr.sbin/ppp/ipcp.c
parent307727cd4cb34041ce7fbca4c3323678d1dd9f0c (diff)
downloadFreeBSD-src-f0dee2c38ca3e4eeca64ea4679b582c4373dbbf4.zip
FreeBSD-src-f0dee2c38ca3e4eeca64ea4679b582c4373dbbf4.tar.gz
Put the IP buffer queues into struct ipcp.
Forgotten by: me
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r--usr.sbin/ppp/ipcp.c7
1 files changed, 4 insertions, 3 deletions
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);
}
OpenPOWER on IntegriCloud