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-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=681212fa882bb490ee0089d09034701c9939f8d6;p=thirdparty%2Ffreeradius-server.git Fix typo for huntgroups bug as described in http://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 daaa68cc2ca..0eebe758d7f 100644 --- a/src/modules/rlm_preprocess/rlm_preprocess.c +++ b/src/modules/rlm_preprocess/rlm_preprocess.c @@ -332,7 +332,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); }