projects
/
ppp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84a45df
)
fix silly mistake in setting up pty
author
Paul Mackerras
<paulus@samba.org>
Mon, 1 Jan 2001 23:43:25 +0000
(23:43 +0000)
committer
Paul Mackerras
<paulus@samba.org>
Mon, 1 Jan 2001 23:43:25 +0000
(23:43 +0000)
pppd/sys-linux.c
patch
|
blob
|
history
diff --git
a/pppd/sys-linux.c
b/pppd/sys-linux.c
index fbad8473afbd822c1142c6bdfef07c36c2a165fe..4d24a5c24c9b582e33b6f6d6a3f75d99b1c780a9 100644
(file)
--- a/
pppd/sys-linux.c
+++ b/
pppd/sys-linux.c
@@
-2481,8
+2481,8
@@
get_pty(master_fdp, slave_fdp, slave_name, uid)
*slave_fdp = sfd;
if (tcgetattr(sfd, &tios) == 0) {
tios.c_cflag &= ~(CSIZE | CSTOPB | PARENB);
- tios.c_cflag |= CS8 | CREAD;
- tios.c_iflag = IGNPAR
| CLOCAL
;
+ tios.c_cflag |= CS8 | CREAD
| CLOCAL
;
+ tios.c_iflag = IGNPAR;
tios.c_oflag = 0;
tios.c_lflag = 0;
if (tcsetattr(sfd, TCSAFLUSH, &tios) < 0)