summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ccp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-05-09 20:02:29 +0000
committerbrian <brian@FreeBSD.org>1999-05-09 20:02:29 +0000
commit00d71de444cebd8e8fb9f1a6f538b0e25756fcbd (patch)
tree35a86aa77f33435584f120d89d51596207ec30c1 /usr.sbin/ppp/ccp.c
parent81c1d3f4c6f3f0dcb719616e43e48c3b8d72888e (diff)
downloadFreeBSD-src-00d71de444cebd8e8fb9f1a6f538b0e25756fcbd.zip
FreeBSD-src-00d71de444cebd8e8fb9f1a6f538b0e25756fcbd.tar.gz
Deal with the fact that as we now mbuf_Read the fsm
header in fsm_Input() we often end up with a NULL mbuf. Deal with a possible NULL mbuf being passed into mbuf_Prepend(). Adjust some spacing to make things more consistent.
Diffstat (limited to 'usr.sbin/ppp/ccp.c')
-rw-r--r--usr.sbin/ppp/ccp.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/ppp/ccp.c b/usr.sbin/ppp/ccp.c
index 1b84252..b1082c8 100644
--- a/usr.sbin/ppp/ccp.c
+++ b/usr.sbin/ppp/ccp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ccp.c,v 1.46 1999/05/02 14:33:39 brian Exp $
+ * $Id: ccp.c,v 1.47 1999/05/08 11:06:12 brian Exp $
*
* TODO:
* o Support other compression protocols
@@ -363,9 +363,7 @@ CcpLayerFinish(struct fsm *fp)
log_Printf(LogCCP, "%s: LayerFinish.\n", fp->link->name);
}
-/*
- * Called when CCP has reached the OPEN state
- */
+/* Called when CCP has reached the OPEN state */
static int
CcpLayerUp(struct fsm *fp)
{
OpenPOWER on IntegriCloud