aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2002-04-21 02:00:29 +0000
committerBrian Somers <brian@FreeBSD.org>2002-04-21 02:00:29 +0000
commit768dc55092e72a9036a2a8a42c870ed633f47617 (patch)
tree7e9d1b660e4d5c9bfdfd1c70b47c2b5dceb2fa30
parent64151e7a8aa6938889d54c9249ff11f88b2f55db (diff)
Notes
-rw-r--r--usr.sbin/ppp/tty.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/ppp/tty.c b/usr.sbin/ppp/tty.c
index 83783ec7c278..a246aab9544b 100644
--- a/usr.sbin/ppp/tty.c
+++ b/usr.sbin/ppp/tty.c
@@ -260,6 +260,13 @@ LoadLineDiscipline(struct physical *p)
struct ngm_connect ngc;
int ldisc, cs, ds, hot, speed;
+ /*
+ * Don't use the netgraph line discipline for now. Using it works, but
+ * carrier cannot be detected via TIOCMGET and the device doesn't become
+ * selectable with 0 bytes to read when carrier is lost :(
+ */
+ return 0;
+
reply = (struct ng_mesg *)rbuf;
info = (struct nodeinfo *)reply->data;