aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2013-10-16 02:55:31 +0000
committerKevin Lo <kevlo@FreeBSD.org>2013-10-16 02:55:31 +0000
commitc4ecf85bca33952f8067de1decee1b532108954b (patch)
treedb341fac42dc07aaa29b1294be974edfb82ebf95 /usr.sbin/ppp
parentff7824ff5299ce6aa6e7356f1417004ccf5ce0b9 (diff)
downloadsrc-c4ecf85bca33952f8067de1decee1b532108954b.tar.gz
src-c4ecf85bca33952f8067de1decee1b532108954b.zip
Notes
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/mppe.c2
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;