diff options
author | phk <phk@FreeBSD.org> | 1998-02-13 12:46:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1998-02-13 12:46:28 +0000 |
commit | 76528cc622637526fe2545d99fd21a2c6f39e9c4 (patch) | |
tree | 93a9b69fd7cbfbcfaa3a59dc4588bf3dfdb8dd8b /sys/net/ppp_tty.c | |
parent | 3a8117ec4ddcc05573335ac5f170bf00089f52da (diff) | |
download | FreeBSD-src-76528cc622637526fe2545d99fd21a2c6f39e9c4.zip FreeBSD-src-76528cc622637526fe2545d99fd21a2c6f39e9c4.tar.gz |
Implement the spirit but not the letter of Terrys hot-char patch.
The differences Terrys patch and this patch are:
* Remove a lot of un-needed comments.
* Don't put l_hotchar at the front of stuct linesw, there is no need to.
* Use the #defines for the hotchar in the SLIP and PPP line disciplines
Diffstat (limited to 'sys/net/ppp_tty.c')
-rw-r--r-- | sys/net/ppp_tty.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c index ecfe326..f12a85c 100644 --- a/sys/net/ppp_tty.c +++ b/sys/net/ppp_tty.c @@ -70,7 +70,7 @@ * Paul Mackerras (paulus@cs.anu.edu.au). */ -/* $Id: ppp_tty.c,v 1.28 1997/11/18 14:08:51 bde Exp $ */ +/* $Id: ppp_tty.c,v 1.29 1997/12/06 13:24:37 bde Exp $ */ #include "ppp.h" #if NPPP > 0 @@ -161,8 +161,9 @@ void pppasyncattach __P((void *)); */ static struct linesw pppdisc = { - pppopen, pppclose, pppread, pppwrite, ppptioctl, - pppinput, pppstart, ttymodem + pppopen, pppclose, pppread, pppwrite, + ppptioctl, pppinput, pppstart, ttymodem, + PPP_FLAG }; void |