]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use correct output buffer from expansion
authorAlan T. DeKok <aland@freeradius.org>
Thu, 17 Aug 2017 14:52:19 +0000 (16:52 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 17 Aug 2017 15:01:47 +0000 (17:01 +0200)
src/main/unlang_interpret.c

index eb86494c3df4b37a3883f0380c52805988d1fe46..79d47768877f2f626d56dafecc305048724cc59f 100644 (file)
@@ -522,7 +522,7 @@ static unlang_action_t unlang_fork(REQUEST *request, unlang_stack_t *stack,
                        return UNLANG_ACTION_CALCULATE_RESULT;
                }
 
-               dval = fr_dict_enum_by_alias(NULL, da, buffer);
+               dval = fr_dict_enum_by_alias(NULL, da, p);
                if (!dval) {
                        RDEBUG("Failed to find Packet-Type %s", buffer);
                        *result = RLM_MODULE_FAIL;