Date: Sat, 21 Jul 2001 04:52:31 -0700 (PDT) From: Hellmuth Michaelis <hm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/share/examples/isdn/i4brunppp i4brunppp.c Message-ID: <200107211152.f6LBqWN70603@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <jml@cubical.fi>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107211152.f6LBqWN70603>
