From c05a65b79aece5731e9611385d12bf859fb6ad30 Mon Sep 17 00:00:00 2001 From: kkalev Date: Thu, 1 Jul 2004 09:20:36 +0000 Subject: [PATCH] If Pool-Name is set to DEFAULT we always run --- src/modules/rlm_ippool/rlm_ippool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/rlm_ippool/rlm_ippool.c b/src/modules/rlm_ippool/rlm_ippool.c index 48aceae..4bb0d00 100644 --- a/src/modules/rlm_ippool/rlm_ippool.c +++ b/src/modules/rlm_ippool/rlm_ippool.c @@ -480,7 +480,7 @@ static int ippool_postauth(void *instance, REQUEST *request) * run only if they match */ if ((vp = pairfind(request->config_items, PW_POOL_NAME)) != NULL){ - if (data->name == NULL || strcmp(data->name,vp->strvalue)) + if (data->name == NULL || strcmp(data->name,vp->strvalue) || strcmp(vp->strvalue,"DEFAULT")) return RLM_MODULE_NOOP; } else { DEBUG("rlm_ippool: Could not find Pool-Name attribute."); -- 2.1.4