From: Arran Cudbard-Bell Date: Wed, 13 Mar 2019 08:42:17 +0000 (+0800) Subject: Set da X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbcee22067b92fb9573a3f5d246e40a6b310cc60;p=thirdparty%2Ffreeradius-server.git Set da --- diff --git a/src/modules/rlm_rest/rest.c b/src/modules/rlm_rest/rest.c index e5f0ffaa0c4..b81293403d5 100644 --- a/src/modules/rlm_rest/rest.c +++ b/src/modules/rlm_rest/rest.c @@ -785,11 +785,12 @@ static int rest_decode_post(UNUSED rlm_rest_t const *instance, UNUSED rlm_rest_s goto skip; } ctx = radius_list_ctx(current, dst->tmpl_list); + da = dst->tmpl_da; rad_assert(vps); RINDENT(); - RDEBUG3("Type : %s", fr_int2str(fr_value_box_type_table, dst->tmpl_da->type, "")); + RDEBUG3("Type : %s", fr_int2str(fr_value_box_type_table, da->type, "")); q = strchr(p, '&'); len = (!q) ? (rawlen - (p - raw)) : (unsigned)(q - p);