summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/defs.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-12-27 13:44:42 +0000
committerbrian <brian@FreeBSD.org>1997-12-27 13:44:42 +0000
commitd03808004927d9310c50fb5885b4908a0d39c340 (patch)
tree33ec99f0df5b4c99d728f96a8e35a1a4732b18be /usr.sbin/ppp/defs.c
parent7629c0321e705cb78c28a7c4ad020f2c2451c5d6 (diff)
downloadFreeBSD-src-d03808004927d9310c50fb5885b4908a0d39c340.zip
FreeBSD-src-d03808004927d9310c50fb5885b4908a0d39c340.tar.gz
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.
Diffstat (limited to 'usr.sbin/ppp/defs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud