From 52223ac31751a5ec0bd8be3beb3fdd0559353b54 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry <dima@server> Date: Wed, 24 Aug 2011 18:29:10 +0400 Subject: radius: better radius server fails handling --- accel-pppd/triton/md.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'accel-pppd/triton/md.c') diff --git a/accel-pppd/triton/md.c b/accel-pppd/triton/md.c index 6c1092d0..c9ec32e6 100644 --- a/accel-pppd/triton/md.c +++ b/accel-pppd/triton/md.c @@ -152,6 +152,8 @@ void __export triton_md_unregister_handler(struct triton_md_handler_t *ud) list_add_tail(&h->entry, &freed_list); pthread_mutex_unlock(&freed_list_lock); + ud->tpd = NULL; + triton_stat.md_handler_count--; } int __export triton_md_enable_handler(struct triton_md_handler_t *ud, int mode) -- cgit v1.2.3