Date: Thu, 23 Mar 1995 08:07:29 +0900 From: NIIMI Satoshi <sa2c@and.or.jp> To: Atsushi Murai <amurai@spec.co.jp> Cc: current@FreeBSD.org Subject: escape of iijppp on current Message-ID: <199503222307.IAA00299@us.and.or.jp>
next in thread | raw e-mail | index | archive | help
Current's iijppp cannot escape characters properly. This patch will fix this problem. In /usr/src/usr.sbin/ppp --- async.c.orig Mon Feb 27 00:20:00 1995 +++ async.c Thu Mar 23 07:26:44 1995 @@ -78,7 +78,7 @@ *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; } -- NIIMI Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503222307.IAA00299>