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>
key.dsize = strlen(blinks_id);
tdb_delete(pppdb, key);
unlock_db();
-
-new_phase(PHASE_DEAD);
+
+ new_phase(PHASE_DEAD);
+
+ doing_multilink = 0;
+ multilink_master = 0;
}
static void make_bundle_links(int append)