summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1999-06-09 20:32:38 +0000
committerbrian <brian@cvs.openbsd.org>1999-06-09 20:32:38 +0000
commitcfb7530bc33455c569f4c26cc4af82addea47a03 (patch)
treee69852b33dc16a439b0d6e1792488d9a52ae97d1 /usr.sbin/ppp
parentb14ec5d89c960001f3c7e3481ede6a215af590f6 (diff)
Initialise `mp'.
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ppp/lcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp/lcp.c b/usr.sbin/ppp/ppp/lcp.c
index e1bab115473..22e6c7821d4 100644
--- a/usr.sbin/ppp/ppp/lcp.c
+++ b/usr.sbin/ppp/ppp/lcp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: lcp.c,v 1.15 1999/06/09 16:55:25 brian Exp $
+ * $Id: lcp.c,v 1.16 1999/06/09 20:32:37 brian Exp $
*
*/
@@ -1053,6 +1053,7 @@ LcpDecodeConfig(struct fsm *fp, u_char *cp, int plen, int mode_type,
break;
case TY_ENDDISC:
+ mp = &lcp->fsm.bundle->ncp.mp;
log_Printf(LogLCP, "%s %s\n", request,
mp_Enddisc(cp[2], cp + 3, length - 3));
switch (mode_type) {