summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-08-09 23:49:59 +0000
committerbrian <brian@FreeBSD.org>1999-08-09 23:49:59 +0000
commitd69ca183f0e720874dd03db5d2d266d72d6161c4 (patch)
treec62cca3968e3275c32d6c3c465d2cd927f105abd /usr.sbin/ppp
parentb3409b1e8c3460f9f5c102e31f3eedcd2c7dd905 (diff)
downloadFreeBSD-src-d69ca183f0e720874dd03db5d2d266d72d6161c4.zip
FreeBSD-src-d69ca183f0e720874dd03db5d2d266d72d6161c4.tar.gz
Back out the last patch. I'm too tired to apply patches.
Diffstat (limited to 'usr.sbin/ppp')
-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 0bd64d3..e2201ec 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 */
OpenPOWER on IntegriCloud