]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
tmpl_async_required() already calls xlat_async_required()
authorAlan T. DeKok <aland@freeradius.org>
Thu, 15 Dec 2022 20:38:34 +0000 (15:38 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 21 Dec 2022 17:49:17 +0000 (12:49 -0500)
src/lib/server/tmpl_eval.c

index ec6b75a3ae598d12f4af0504804b4f489fa601b3..58935bb73120d655fd0dc164040b949508a8b6ee 100644 (file)
@@ -1506,11 +1506,6 @@ int tmpl_eval(TALLOC_CTX *ctx, FR_DLIST_HEAD(fr_value_box_list) *out, request_t
 
        fr_assert(tmpl_is_xlat(vpt));
 
-       if (xlat_async_required(tmpl_xlat(vpt))) {
-               fr_strerror_const("Cannot evaluate async xlat");
-               return -1;
-       }
-
        /*
         *      @todo - respect escaping functions.  But the sync
         *      escaping uses a different method than the async ones.