]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Set da
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 13 Mar 2019 08:42:17 +0000 (16:42 +0800)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 13 Mar 2019 08:42:17 +0000 (16:42 +0800)
src/modules/rlm_rest/rest.c

index e5f0ffaa0c41afb7e69affd8eec4c9cc5a7b8cc6..b81293403d5a1cfcb29ca86000f261c094277545 100644 (file)
@@ -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, "<INVALID>"));
+               RDEBUG3("Type  : %s", fr_int2str(fr_value_box_type_table, da->type, "<INVALID>"));
 
                q = strchr(p, '&');
                len = (!q) ? (rawlen - (p - raw)) : (unsigned)(q - p);