Return NOOP if there request is going to be proxied
authoraland <aland>
Sat, 29 Mar 2008 21:30:33 +0000 (21:30 +0000)
committeraland <aland>
Sat, 29 Mar 2008 21:30:33 +0000 (21:30 +0000)
src/modules/rlm_pap/rlm_pap.c

index c96fbbe..70ab418 100644 (file)
@@ -383,7 +383,7 @@ static int pap_authorize(void *instance, REQUEST *request)
                case PW_PROXY_TO_REALM:
                {
                        REALM *realm = realm_find(vp->vp_strvalue);
-                       if (realm && !realm->auth_pool) {
+                       if (realm && realm->auth_pool) {
                                return RLM_MODULE_NOOP;
                        }
                        break;