From owner-freebsd-current Wed Mar 22 15:09:17 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA18049 for current-outgoing; Wed, 22 Mar 1995 15:09:17 -0800 Received: from news.rim.or.jp (news.rim.or.jp [202.255.181.3]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id PAA18031 for ; Wed, 22 Mar 1995 15:09:10 -0800 Received: (from uucp@localhost) by news.rim.or.jp (8.6.10+2.4W/3.3W-rim1.0) with UUCP id IAA01122; Thu, 23 Mar 1995 08:08:52 +0900 Received: (from sa2c@localhost) by us.and.or.jp (8.6.11/3.3W8) id IAA00299; Thu, 23 Mar 1995 08:07:29 +0900 Date: Thu, 23 Mar 1995 08:07:29 +0900 From: NIIMI Satoshi Message-Id: <199503222307.IAA00299@us.and.or.jp> To: Atsushi Murai Cc: current@FreeBSD.org Subject: escape of iijppp on current Reply-to: sa2c@st.rim.or.jp Sender: current-owner@FreeBSD.org Precedence: bulk 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