diff options
author | amurai <amurai@FreeBSD.org> | 1995-07-08 05:09:57 +0000 |
---|---|---|
committer | amurai <amurai@FreeBSD.org> | 1995-07-08 05:09:57 +0000 |
commit | 9ab5bb8cc4a2c4f1049de7c15f2e07d2f0481dc9 (patch) | |
tree | b4022b77742dca95d26d1c23454139d42ecd07c3 /usr.sbin/ppp | |
parent | a5338d351895761ba9d716ef45db8f4a57bea0bd (diff) | |
download | FreeBSD-src-9ab5bb8cc4a2c4f1049de7c15f2e07d2f0481dc9.zip FreeBSD-src-9ab5bb8cc4a2c4f1049de7c15f2e07d2f0481dc9.tar.gz |
>Number: 591
>Category: bin
>Synopsis: SPAP request REJexted in stead of NAKed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs (FreeBSD bugs mailing list)
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 5 01:40:01 1995
>Originator: Dick van den Burg
>Organization:
>Release: FreeBSD 2.0.5-RELEASE i386
>Environment:
>Description:
When trying to connect with ppp to a Shiva Lanrover (version 3.2) the
authentication fails because the SPAP (Shiva Secure PAP) configuration
request the is sent by Shive is REJected by ppp in stead of NAKed.
Reviewed by: amurai@spec.c.jp and friends
Submitted by: burg@is.ge.com
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/lcp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index ade676e..4cce75a 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: |