From: Alan T. DeKok Date: Thu, 9 Jul 2015 17:56:54 +0000 (-0400) Subject: Don't convert LIST to ATTRIBUTE X-Git-Tag: release_3_0_10~363 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c825985741cde9d0519ba55bfb006443e5ee1190;p=thirdparty%2Ffreeradius-server.git Don't convert LIST to ATTRIBUTE --- diff --git a/src/main/xlat.c b/src/main/xlat.c index 1656a2f513d..cc76378ba7e 100644 --- a/src/main/xlat.c +++ b/src/main/xlat.c @@ -2540,7 +2540,7 @@ vp_tmpl_t *xlat_to_tmpl_attr(TALLOC_CTX *ctx, xlat_exp_t *node) { vp_tmpl_t *vpt; - if (node->next || (node->type != XLAT_ATTRIBUTE)) return NULL; + if (node->next || (node->type != XLAT_ATTRIBUTE) || (node->attr.type != TMPL_TYPE_ATTR)) return NULL; /* * Concat means something completely different as an attribute reference