Date: Sat, 9 Sep 1995 13:43:31 -0400 (EDT) From: John Capo <jc@irbs.com> To: freebsd-current@freefall.FreeBSD.org (freebsd-current) Cc: freebsd-bugs@freebsd.org Subject: PPP patch (Gnats still broken) Message-ID: <199509091743.NAA14857@irbs.irbs.com>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: John Capo >Organization: IRBS Engineering >Confidential: no >Synopsis: ppp will not read data from telnet connection >Severity: non-critical >Priority: medium >Category: bin >Release: FreeBSD 2.2-CURRENT i386 >Class: sw-bug >Environment: >Description: Will not read data from a telnet connection when running in auto mode due to test for pgroup == tcgetpgrp(0). There is no controlling tty. >How-To-Repeat: Telnet to ppp running in auto mode. >Fix: *** usr.sbin/ppp/main.c.orig Sat Sep 9 13:02:53 1995 --- usr.sbin/ppp/main.c Sat Sep 9 13:03:14 1995 *************** *** 737,743 **** } if ((mode & MODE_INTER) && FD_ISSET(netfd, &rfds) && ! pgroup == tcgetpgrp(0)) { /* something to read from tty */ ReadTty(); } --- 737,743 ---- } if ((mode & MODE_INTER) && FD_ISSET(netfd, &rfds) && ! ((mode & MODE_AUTO) || pgroup == tcgetpgrp(0))) { /* something to read from tty */ ReadTty(); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509091743.NAA14857>