From owner-cvs-all Sat Jul 21 4:52:35 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3803737B403; Sat, 21 Jul 2001 04:52:32 -0700 (PDT) (envelope-from hm@FreeBSD.org) Received: (from hm@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6LBqWN70603; Sat, 21 Jul 2001 04:52:32 -0700 (PDT) (envelope-from hm) Message-Id: <200107211152.f6LBqWN70603@freefall.freebsd.org> From: Hellmuth Michaelis Date: Sat, 21 Jul 2001 04:52:31 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/share/examples/isdn/i4brunppp i4brunppp.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hm 2001/07/21 04:52:31 PDT Modified files: share/examples/isdn/i4brunppp i4brunppp.c Log: Add a patch from the isdn mailinglist, Juha writes: ppp in 4.x apparently does a close(2) after opening the tun device; i4brunppp starts up with only file descriptors 0 and 1 open (to the rbch device) -> tun gets opened as 2 -> tun gets closed -> later use results in EBADF. A quick fix to i4brunppp.c makes the thing work (I know, this is ugly, but I needed it up quick...): Submitted by: Juha-Matti Liukkonen Revision Changes Path 1.2 +2 -1 src/share/examples/isdn/i4brunppp/i4brunppp.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message