]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
set unknown_da, too
authorAlan T. DeKok <aland@freeradius.org>
Fri, 14 Dec 2018 20:09:32 +0000 (15:09 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 14 Dec 2018 20:09:32 +0000 (15:09 -0500)
src/lib/unlang/compile.c

index 624d88fa6291387de90f184dd05f456efbbe57b8..0b106d57d4b60ca22e8d09e1ef6250bff4e11e20 100644 (file)
@@ -536,7 +536,9 @@ static bool pass2_fixup_undefined(CONF_ITEM const *ci, vp_tmpl_t *vpt, vp_tmpl_r
                        return false;
                }
 
-               da = unknown_da;
+               vpt->tmpl_da = vpt->tmpl_unknown = unknown_da;
+               vpt->type = TMPL_TYPE_ATTR;
+               return true;
        }
 
        vpt->tmpl_da = da;