summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/async.c
diff options
context:
space:
mode:
authorAtsushi Murai <amurai@FreeBSD.org>1995-04-16 12:06:39 +0000
committerAtsushi Murai <amurai@FreeBSD.org>1995-04-16 12:06:39 +0000
commit10b748971bdbb74a6f601a0e07ff981d6aa77559 (patch)
tree3460b7203d72457d015d3251c83bffe6f5c1d87f /usr.sbin/ppp/async.c
parent5baf11ce976bebac8bfe6b40ee727859a67fcbf2 (diff)
downloadsrc-test2-10b748971bdbb74a6f601a0e07ff981d6aa77559.tar.gz
src-test2-10b748971bdbb74a6f601a0e07ff981d6aa77559.zip
Notes
Diffstat (limited to 'usr.sbin/ppp/async.c')
-rw-r--r--usr.sbin/ppp/async.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/async.c b/usr.sbin/ppp/async.c
index d6777b511ec7..472d723f937b 100644
--- a/usr.sbin/ppp/async.c
+++ b/usr.sbin/ppp/async.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id:$
+ * $Id: async.c,v 1.2 1995/02/26 12:17:11 amurai Exp $
*
*/
#include "fsm.h"
@@ -78,7 +78,7 @@ int proto;
*wp++ = HDLC_ESC;
c ^= HDLC_XOR;
}
- if (EscMap[32] && EscMap[c >> 3] & (c&7)) {
+ if (EscMap[32] && EscMap[c >> 3] & (1 << (c&7))) {
*wp++ = HDLC_ESC;
c ^= HDLC_XOR;
}