Clear hungup in start_link() instead of connect_tty()
authorPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 12:27:56 +0000 (12:27 +0000)
committerPaul Mackerras <paulus@samba.org>
Tue, 1 Jul 2008 12:27:56 +0000 (12:27 +0000)
commit7a7ed0a1a26961a165fd17183fd161c36a4b088f
treece5c988a2060a794edde11c42c9a969eeed23514
parentadd0eafae973567f6aa43156a64bd2533b47df93
Clear hungup in start_link() instead of connect_tty()

Since hungup gets set in get_input(), which is generic, but only
cleared in connect_tty(), which is specific to the tty channel type,
other channel types were showing various problems on the second and
subsequent connections when the persist option was used.  This fixes
it by clearing hungup in start_link() rather than connect_tty().
pppd/auth.c
pppd/tty.c