diff options
author | Linus Nordberg <linus@nordu.net> | 2016-11-01 15:10:27 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2016-11-01 15:10:27 +0100 |
commit | 9a565fe0289c55700677e7a6d8446a1de1e77e9e (patch) | |
tree | 47f75b607bafa7f49d542c9673cc10f0abd7f457 | |
parent | 47ccc9ff18405caa7554d1880a26b52c9576175b (diff) |
Revert partial fix for RADSECPROXY-69 (47ccc9f).
This was potentially making things worse.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | radsecproxy.c | 6 |
2 files changed, 1 insertions, 10 deletions
@@ -1,8 +1,3 @@ -Unreleased 1.6.9 - Bug fixes: - - Avoid creating another dynamic server when we already have one - working (RADSECPROXY-69). Patch by Fabian Mauchle. - 2016-09-21 1.6.8 Bug fixes: - Stop waiting on writable when reading a TCP socket. 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; |