]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
TAG_ANY is ok too
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 8 Feb 2018 21:38:03 +0000 (21:38 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 8 Feb 2018 21:38:03 +0000 (21:38 +0000)
src/main/tmpl.c

index 7d8317513fee4c28a57e6b1086ccfdd25719c3cc..961af0cebef27c0537867a17d10444bd4f54a92f 100644 (file)
@@ -2484,7 +2484,7 @@ void tmpl_verify(char const *file, int line, vp_tmpl_t const *vpt)
                        fr_dict_attr_t const *da;
 
                        if (!vpt->tmpl_da->flags.has_tag &&
-                           (vpt->tmpl_tag != TAG_NONE)) {
+                           (vpt->tmpl_tag != TAG_NONE) && (vpt->tmpl_tag != TAG_ANY)) {
                                FR_FAULT_LOG("CONSISTENCY CHECK FAILED %s[%u]: TMPL_TYPE_ATTR "
                                             "da is marked as not having a tag, but the template has a tag",
                                             file, line);