From: Philippe Wooding Date: Thu, 29 Jun 2017 13:32:16 +0000 (+0200) Subject: Fix typo for huntgroups bug as described in http://freeradius.1045715.n5.nabble.com... X-Git-Tag: release_3_0_15~20 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=a1665627e6a938b18c398b3d827b116134495f94;hp=eae4080bbd596d35fe5d596c30d63dce03e23546;p=freeradius.git Fix typo for huntgroups bug as described in freeradius.1045715.n5.nabble.com/Problem-with-huntgroups-upgrading-from-2-2-9-to-3-0-x-td5744845.html --- diff --git a/src/modules/rlm_preprocess/rlm_preprocess.c b/src/modules/rlm_preprocess/rlm_preprocess.c index ce75ac8..b6d3a5d 100644 --- a/src/modules/rlm_preprocess/rlm_preprocess.c +++ b/src/modules/rlm_preprocess/rlm_preprocess.c @@ -357,7 +357,7 @@ static int hunt_paircmp(REQUEST *req, VALUE_PAIR *request, VALUE_PAIR *check) /* FIXME: fr_pair_list_copy should be removed once VALUE_PAIRs are no longer in linked lists */ tmp = fr_pair_copy(request, check_item); tmp->op = check_item->op; - result = paircompare(req, request, check_item, NULL); + result = paircompare(req, request, tmp, NULL); fr_pair_list_free(&tmp); }