From: Alan T. DeKok Date: Thu, 17 Aug 2017 14:52:19 +0000 (+0200) Subject: use correct output buffer from expansion X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd46bdb7c42acfce3c3e005ed0dd87b8db6ded60;p=thirdparty%2Ffreeradius-server.git use correct output buffer from expansion --- diff --git a/src/main/unlang_interpret.c b/src/main/unlang_interpret.c index eb86494c3df..79d47768877 100644 --- a/src/main/unlang_interpret.c +++ b/src/main/unlang_interpret.c @@ -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;