From owner-freebsd-bugs Tue Jan 9 14:20:19 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 45AE537B401 for ; Tue, 9 Jan 2001 14:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f09MK1b42403; Tue, 9 Jan 2001 14:20:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 421E937B400 for ; Tue, 9 Jan 2001 14:15:57 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f09MFvV42053; Tue, 9 Jan 2001 14:15:57 -0800 (PST) (envelope-from nobody) Message-Id: <200101092215.f09MFvV42053@freefall.freebsd.org> Date: Tue, 9 Jan 2001 14:15:57 -0800 (PST) From: tmoestl@gmx.net To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/24206: [PATCH] bug in isdnd config file scanner (breaks the ppp-expect-password option) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24206 >Category: bin >Synopsis: [PATCH] bug in isdnd config file scanner (breaks the ppp-expect-password option) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 09 14:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Thomas Moestl >Release: FreeBSD 5.0-CURRENT >Organization: >Environment: FreeBSD raven.local 5.0-CURRENT FreeBSD 5.0-CURRENT #31: Sun Jan 7 20:06:10 CET 2001 thomas@raven.local:/usr/src/sys/compile/RAVEN i386 >Description: A small bug in the config file scanner breaks the ppp-expect-password option (it is interpreted like the ppp-expect-name option). >How-To-Repeat: E.g., give the following options: ppp-expect-auth = pap ppp-expect-name = foo ppp-expect-password = bar in your isdnd.rc. isdnd will complain about a missing password. >Fix: Apply the following patch (if it gets mangled, it is also available at http://www.tu-bs.de/~y0015675/isdnd.diff). *** src/usr.sbin/i4b/isdnd/rc_scan.l~ Mon Oct 9 16:22:39 2000 --- src/usr.sbin/i4b/isdnd/rc_scan.l Thu Jan 4 00:29:44 2001 *************** *** 149,155 **** ppp-auth-paranoid { return PPP_AUTH_PARANOID; } ppp-expect-auth { return PPP_EXPECT_AUTH; } ppp-expect-name { return PPP_EXPECT_NAME; } ! ppp-expect-password { return PPP_EXPECT_NAME; } ppp-send-auth { return PPP_SEND_AUTH; } ppp-send-name { return PPP_SEND_NAME; } ppp-send-password { return PPP_SEND_PASSWORD; } --- 149,155 ---- ppp-auth-paranoid { return PPP_AUTH_PARANOID; } ppp-expect-auth { return PPP_EXPECT_AUTH; } ppp-expect-name { return PPP_EXPECT_NAME; } ! ppp-expect-password { return PPP_EXPECT_PASSWORD; } ppp-send-auth { return PPP_SEND_AUTH; } ppp-send-name { return PPP_SEND_NAME; } ppp-send-password { return PPP_SEND_PASSWORD; } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message