Fix authentication on second time around with multilink and persist
authorPaul Mackerras <paulus@samba.org>
Wed, 26 Nov 2008 10:02:29 +0000 (21:02 +1100)
committerPaul Mackerras <paulus@samba.org>
Wed, 26 Nov 2008 10:02:29 +0000 (21:02 +1100)
commit9f7c27af1b0b3ca29c673574322b2c23f1184803
treeed9b9f7cf65d702d7e836f746f30954a5002b406
parent5ab66a84426007d5da830b4ffe35067e25fe54f1
Fix authentication on second time around with multilink and persist

Frédéric Brière reported that when using multilink and persist, pppd
would fail to authenticate itself on the second and subsequent times
of bringing up a bundle.  The reason was that the doing_multilink and
multilink_master flags never got reset when the first bundle was
destroyed.  This adds lines to mp_bundle_terminated to do that.

Signed-off-by: Paul Mackerras <paulus@samba.org>
pppd/multilink.c