From 9a565fe0289c55700677e7a6d8446a1de1e77e9e Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Tue, 1 Nov 2016 15:10:27 +0100 Subject: Revert partial fix for RADSECPROXY-69 (47ccc9f). This was potentially making things worse. --- radsecproxy.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'radsecproxy.c') diff --git a/radsecproxy.c b/radsecproxy.c index c478dff..815e927 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -777,14 +777,10 @@ int hasdynamicserver(struct list *srvconfs) { for (entry = list_first(srvconfs); entry; entry = list_next(entry)) #if defined ENABLE_EXPERIMENTAL_DYNDISC - /* NOTE: This should probably be servers->dynamiclookuparg, - * like in !ENABLE_EXPERIMENTAL_DYNDISC, but we're not - * touching this code any more. It shouldn't be used and it's - * going away. */ if (((struct clsrvconf *)entry->data)->dynamiclookupcommand || ((struct clsrvconf *)entry->data)->servers->in_use) #else - if (((struct clsrvconf *)entry->data)->servers->dynamiclookuparg) + if (((struct clsrvconf *)entry->data)->dynamiclookupcommand) #endif return 1; return 0; -- cgit v1.1