]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Ignore post-proxy type if proxy is disabled
authorAlan T. DeKok <aland@freeradius.org>
Wed, 29 Sep 2010 13:47:28 +0000 (15:47 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 29 Sep 2010 13:49:32 +0000 (15:49 +0200)
src/main/modules.c

index 91bc04fbd5fc8b3e437bb10b97b16342a67f6022..09273e73e88bebfb0ebd8d75b5119221a56ae4cf 100644 (file)
@@ -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