Date: Sat, 27 Dec 1997 05:44:44 -0800 (PST) From: Brian Somers <brian@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/pppctl pppctl.c Message-ID: <199712271344.FAA03433@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1997/12/27 05:44:44 PST
Modified files:
usr.sbin/pppctl pppctl.c
Log:
Remove bogus timeout code in Receive().
Don't read(fd, buffer, 0) and think ppp has closed the
connection when `buffer' is full, instead, flush most of
buffer to the terminal and read() for a reasonable length.
This fixes "show route" when there's more than 2k of
routing output.
Revision Changes Path
1.15 +13 -7 src/usr.sbin/pppctl/pppctl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712271344.FAA03433>
