diff options
author | brian <brian@FreeBSD.org> | 1997-11-11 13:08:12 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-11-11 13:08:12 +0000 |
commit | 1777aa3a1039bc07cc750501b65239a6072b5478 (patch) | |
tree | ffce09c681d72121c3b21e89c47793a91d9d404e /usr.sbin/ppp | |
parent | 90324e9327365460167787b036a8b4a6f37fe0e8 (diff) | |
download | FreeBSD-src-1777aa3a1039bc07cc750501b65239a6072b5478.zip FreeBSD-src-1777aa3a1039bc07cc750501b65239a6072b5478.tar.gz |
Fix typo that causes CHAP RESPONSEs to *always*
be damned M$ responses if you've got DES.
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/lcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index ee69d29..b81fa13 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.42 1997/10/29 01:19:41 brian Exp $ + * $Id: lcp.c,v 1.43 1997/11/08 00:28:07 brian Exp $ * * TODO: * o Validate magic number received from peer. @@ -501,7 +501,7 @@ LcpDecodeConfig(u_char * cp, int plen, int mode_type) memcpy(ackp, cp, length); ackp += length; #ifdef HAVE_DES - VarMSChap = cp[4] = 0x80; + VarMSChap = cp[4] == 0x80; #endif } else if (Acceptable(ConfPap)) { *nakp++ = *cp; |