aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/lcp.c
diff options
context:
space:
mode:
authorAtsushi Murai <amurai@FreeBSD.org>1995-07-08 05:09:57 +0000
committerAtsushi Murai <amurai@FreeBSD.org>1995-07-08 05:09:57 +0000
commit28303f274741bfe9b7d87707c249ab11db0475ea (patch)
treeb4022b77742dca95d26d1c23454139d42ecd07c3 /usr.sbin/ppp/lcp.c
parente0dca2b939e111830689e8ace821b73f8440b0fe (diff)
downloadsrc-28303f274741bfe9b7d87707c249ab11db0475ea.tar.gz
src-28303f274741bfe9b7d87707c249ab11db0475ea.zip
Notes
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r--usr.sbin/ppp/lcp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c
index ade676ec3f43..4cce75a69126 100644
--- a/usr.sbin/ppp/lcp.c
+++ b/usr.sbin/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.3 1995/03/11 15:18:45 amurai Exp $
+ * $Id: lcp.c,v 1.4 1995/05/30 03:50:40 rgrimes Exp $
*
* TODO:
* o Validate magic number received from peer.
@@ -517,8 +517,10 @@ int mode;
goto reqreject;
break;
default:
- LogPrintf(LOG_LCP, " %s not implemented.\n", request);
- goto reqreject;
+ LogPrintf(LOG_LCP, " %s not implemented, NAK.\n", request);
+ bcopy(cp, nakp, length);
+ nakp += length;
+ break;
}
break;
case MODE_NAK: