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. |
||
---|---|---|
.. | ||
Makefile | ||
pppctl.8 | ||
pppctl.c |