From: Alan T. DeKok Date: Wed, 29 Sep 2010 13:47:28 +0000 (+0200) Subject: Ignore post-proxy type if proxy is disabled X-Git-Tag: release_3_0_0_beta0~1219 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=freeradius.git;a=commitdiff_plain;h=63e8efeacb45c875082899883760f32017d15fa3 Ignore post-proxy type if proxy is disabled --- diff --git a/src/main/modules.c b/src/main/modules.c index 04a7d0b..accb8b9 100644 --- a/src/main/modules.c +++ b/src/main/modules.c @@ -1099,8 +1099,8 @@ static int load_byserver(CONF_SECTION *cs) * proxying. */ if (!mainconfig.proxy_requests && - ((comp == PW_PRE_PROXY_TYPE) || - (comp == PW_PRE_PROXY_TYPE))) { + ((comp == RLM_COMPONENT_PRE_PROXY) || + (comp == RLM_COMPONENT_POST_PROXY))) { continue; } #endif