From: Arran Cudbard-Bell Date: Thu, 8 Feb 2018 21:38:03 +0000 (+0000) Subject: TAG_ANY is ok too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bfe4efe20d441f7a65d0ecbc8beb29302386657;p=thirdparty%2Ffreeradius-server.git TAG_ANY is ok too --- diff --git a/src/main/tmpl.c b/src/main/tmpl.c index 7d8317513fe..961af0cebef 100644 --- a/src/main/tmpl.c +++ b/src/main/tmpl.c @@ -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);