summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1998-10-05 21:02:30 +0000
committerjoerg <joerg@FreeBSD.org>1998-10-05 21:02:30 +0000
commit0b79056d0141f258c5b2f27357a1f63376d461d3 (patch)
tree78612a5c01c9bbd4fffe24cbc36aed0cdf2389ea /sys/net
parent57f6784e782f552cdf1e8f0a29aefb08108526df (diff)
downloadFreeBSD-src-0b79056d0141f258c5b2f27357a1f63376d461d3.zip
FreeBSD-src-0b79056d0141f258c5b2f27357a1f63376d461d3.tar.gz
Fix a =/== confusion that caused the CHAP type renegotiation to
completely fail. Obtained from: The isdn4bsd project (original author unknown right now)
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_spppsubr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 8b862c3..d786be4 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -17,7 +17,7 @@
*
* From: Version 2.4, Thu Apr 30 17:17:21 MSD 1997
*
- * $Id: if_spppsubr.c,v 1.41 1998/08/15 21:58:09 bde Exp $
+ * $Id: if_spppsubr.c,v 1.42 1998/08/17 00:29:34 bde Exp $
*/
#include "opt_inet.h"
@@ -1979,7 +1979,7 @@ sppp_lcp_RCR(struct sppp *sp, struct lcp_header *h, int len)
if (authproto == PPP_CHAP && p[4] != CHAP_MD5) {
if (debug)
addlog("[chap not MD5] ");
- p[4] == CHAP_MD5;
+ p[4] = CHAP_MD5;
break;
}
continue;
OpenPOWER on IntegriCloud