diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-30 00:36:22 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-30 00:36:22 +0000 |
commit | 4def20ebc9c99744f26b8aad409fd752a52db532 (patch) | |
tree | 711540d43c7d91ed3d41544e7a54eed9c8568b10 /usr.sbin/pppd | |
parent | b74c3a87f6576fab072e761973e015dd4fba9650 (diff) |
Fix setting of crtscts. It was not being set in set_up_tty() if the
local var "local" is set. This is a problem since that is set
during chat. Use the "modem" var instead.
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r-- | usr.sbin/pppd/sys-bsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pppd/sys-bsd.c b/usr.sbin/pppd/sys-bsd.c index d307cc32778..8ce50925d74 100644 --- a/usr.sbin/pppd/sys-bsd.c +++ b/usr.sbin/pppd/sys-bsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys-bsd.c,v 1.9 1997/09/28 21:44:37 millert Exp $ */ +/* $OpenBSD: sys-bsd.c,v 1.10 1997/11/30 00:36:21 millert Exp $ */ /* * sys-bsd.c - System-dependent procedures for setting up @@ -26,7 +26,7 @@ #if 0 static char rcsid[] = "Id: sys-bsd.c,v 1.28 1997/04/30 05:57:46 paulus Exp"; #else -static char rcsid[] = "$OpenBSD: sys-bsd.c,v 1.9 1997/09/28 21:44:37 millert Exp $"; +static char rcsid[] = "$OpenBSD: sys-bsd.c,v 1.10 1997/11/30 00:36:21 millert Exp $"; #endif #endif @@ -488,7 +488,7 @@ set_up_tty(fd, local) } tios.c_cflag &= ~(CSIZE | CSTOPB | PARENB | CLOCAL); - if (crtscts > 0 && !local) + if (crtscts > 0 && modem) tios.c_cflag |= CRTSCTS; else if (crtscts < 0) tios.c_cflag &= ~CRTSCTS; |