summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1999-08-09 23:49:59 +0000
committerBrian Somers <brian@FreeBSD.org>1999-08-09 23:49:59 +0000
commitcde8638bc5b2eea130818b6c1580081f259b7007 (patch)
tree22b221e43ab6339e481616c311845c5c8b5cb69f
parent02b485a4b86c85852ca5df8c9f13243982ccf900 (diff)
Notes
-rw-r--r--usr.sbin/ppp/tty.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/ppp/tty.c b/usr.sbin/ppp/tty.c
index 0bd64d3b3c7c..e2201ece51d5 100644
--- a/usr.sbin/ppp/tty.c
+++ b/usr.sbin/ppp/tty.c
@@ -204,10 +204,8 @@ tty_Raw(struct physical *p)
else
ios.c_cflag |= CLOCAL;
- if (p->type != PHYS_DEDICATED) {
+ if (p->type != PHYS_DEDICATED)
ios.c_cflag |= HUPCL;
- ios.c_cflag &= ~CLOCAL;
- }
tcsetattr(p->fd, TCSANOW, &ios);
}
@@ -412,10 +410,8 @@ tty_Create(struct physical *p)
ios.c_iflag |= IXOFF;
}
ios.c_iflag |= IXON;
- if (p->type != PHYS_DEDICATED) {
+ if (p->type != PHYS_DEDICATED)
ios.c_cflag |= HUPCL;
- ios.c_cflag &= ~CLOCAL;
- }
if (p->type != PHYS_DIRECT) {
/* Change tty speed when we're not in -direct mode */