This fixes a bug where we didn't cancel a timeout in the radius code
when the link goes down, leaving us with duplicate timeouts if it
comes back up again. Bug report and patch from Richard Kojedzinszky.
*
***********************************************************************/
static char const RCSID[] =
-"$Id: radius.c,v 1.31 2006/05/22 00:01:40 paulus Exp $";
+"$Id: radius.c,v 1.32 2008/05/26 09:18:08 paulus Exp $";
#include "pppd.h"
#include "chap-new.h"
return;
}
+ if (rstate.acct_interim_interval)
+ UNTIMEOUT(radius_acct_interim, NULL);
+
rstate.accounting_started = 0;
rc_avpair_add(&send, PW_ACCT_SESSION_ID, rstate.session_id,
0, VENDOR_NONE);