diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2013-10-16 02:55:31 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2013-10-16 02:55:31 +0000 |
commit | c4ecf85bca33952f8067de1decee1b532108954b (patch) | |
tree | db341fac42dc07aaa29b1294be974edfb82ebf95 /usr.sbin/ppp | |
parent | ff7824ff5299ce6aa6e7356f1417004ccf5ce0b9 (diff) | |
download | src-c4ecf85bca33952f8067de1decee1b532108954b.tar.gz src-c4ecf85bca33952f8067de1decee1b532108954b.zip |
Notes
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/mppe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/mppe.c b/usr.sbin/ppp/mppe.c index 141574ff275e..f1fadc396141 100644 --- a/usr.sbin/ppp/mppe.c +++ b/usr.sbin/ppp/mppe.c @@ -168,7 +168,7 @@ MPPEOutput(void *v, struct ccp *ccp, struct link *l __unused, int pri __unused, dictinit = 0; log_Printf(LogDEBUG, "MPPE: Output: Proto %02x (%d bytes)\n", *proto, ilen); - if (*proto < 0x21 && *proto > 0xFA) { + if (*proto < 0x21 || *proto > 0xFA) { log_Printf(LogDEBUG, "MPPE: Output: Not encrypting\n"); ccp->compout += ilen; ccp->uncompout += ilen; |