diff options
author | ache <ache@FreeBSD.org> | 1996-03-28 13:38:59 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1996-03-28 13:38:59 +0000 |
commit | cbcda5a3cf73f73ed68c84b286da6ff6e0febea2 (patch) | |
tree | 1d7fa4aac0ec58d1d949ae33da770aad815100d2 /usr.sbin/ppp/modem.c | |
parent | 65241f8b90f2852cd789b0c357f155260ad4c30f (diff) | |
download | FreeBSD-src-cbcda5a3cf73f73ed68c84b286da6ff6e0febea2.zip FreeBSD-src-cbcda5a3cf73f73ed68c84b286da6ff6e0febea2.tar.gz |
Directly clear parity area because cfmakeraw not do it
Diffstat (limited to 'usr.sbin/ppp/modem.c')
-rw-r--r-- | usr.sbin/ppp/modem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/modem.c b/usr.sbin/ppp/modem.c index 901f088..057ac7b 100644 --- a/usr.sbin/ppp/modem.c +++ b/usr.sbin/ppp/modem.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: modem.c,v 1.20 1996/03/27 22:28:19 ache Exp $ + * $Id: modem.c,v 1.21 1996/03/27 22:58:21 ache Exp $ * * TODO: */ @@ -458,6 +458,7 @@ int mode; /* * If we are working as direct mode, don't change tty speed. */ + rstio.c_cflag &= ~(CSIZE|PARODD|PARENB); rstio.c_cflag |= VarParity; cfsetspeed(&rstio, IntToSpeed(VarSpeed)); } |