]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Mon, 24 Feb 2025 21:35:09 +0000 (16:35 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 24 Feb 2025 21:35:09 +0000 (16:35 -0500)
src/main/tmpl.c

index c64591a7525d188c093b0da7f40da2aa3f740ab1..b174cab9cf47bc6357b5850f9b325577ec78dc34 100644 (file)
@@ -1894,7 +1894,7 @@ VALUE_PAIR *tmpl_cursor_init(int *err, vp_cursor_t *cursor, REQUEST *request, vp
         *      May not may not be found, but it *is* a known name.
         */
        case TMPL_TYPE_ATTR:
-               if (vpt->tmpl_tag == TAG_ANY) {
+               if (vpt->tmpl_tag == TAG_VALUE) {
                        if (err) *err = -1;
                        return NULL;
                }