]> git.ozlabs.org Git - ppp.git/commit
Flush the tty when welcomer or connector fails
authorPaul Mackerras <paulus@samba.org>
Mon, 23 Jun 2008 11:44:06 +0000 (11:44 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 23 Jun 2008 11:44:06 +0000 (11:44 +0000)
commit8f09debe1ccab6c267f1d803bfa6facdd30b56e0
tree897b1d5184af323dd4d264a05370573fea9446d4
parente889f0912c1cff3c33f6419a5cf048471b8f75a9
Flush the tty when welcomer or connector fails

This avoids having the tcsetsf and the close of the tty device block
for long periods waiting for output to drain, as can happen if for
instance the serial port is in CRTSCTS mode and CTS is negated.
pppd/tty.c