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_2_1_11~251 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc035c778fb85980377cbbf10421b983eab288bc;p=thirdparty%2Ffreeradius-server.git Ignore post-proxy type if proxy is disabled --- diff --git a/src/main/modules.c b/src/main/modules.c index 91bc04fbd5f..09273e73e88 100644 --- a/src/main/modules.c +++ b/src/main/modules.c @@ -1077,8 +1077,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