X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fauth.c;h=023653d5d15c0036e12437bdd6524779a2496253;hp=e97b48eaf439e730eed5ce80383f90e73ed282c5;hb=3f2fe49d822135c209e9896f666b748cf2234f2e;hpb=0b3acd3a1122d542e2994d7791cc9127e91778f1 diff --git a/pppd/auth.c b/pppd/auth.c index e97b48e..023653d 100644 --- a/pppd/auth.c +++ b/pppd/auth.c @@ -32,7 +32,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: auth.c,v 1.63 2000/04/04 07:06:49 paulus Exp $" +#define RCSID "$Id: auth.c,v 1.64 2000/04/13 12:05:57 paulus Exp $" #include #include @@ -511,9 +511,13 @@ start_networks() new_phase(PHASE_NETWORK); #ifdef HAVE_MULTILINK - if (multilink) - if (mp_join_bundle()) + if (multilink) { + if (mp_join_bundle()) { + if (updetach && !nodetach) + detach(); return; + } + } #endif /* HAVE_MULTILINK */ #if 0