From: Alan T. DeKok Date: Mon, 8 Jan 2018 16:21:44 +0000 (-0500) Subject: 0 is OK for untagged attributes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b604345cf6f249d0ab3ab0c9ee49815eed66ce3;p=thirdparty%2Ffreeradius-server.git 0 is OK for untagged attributes --- diff --git a/src/main/tmpl.c b/src/main/tmpl.c index 67afd5ad647..914459cdc08 100644 --- a/src/main/tmpl.c +++ b/src/main/tmpl.c @@ -2416,7 +2416,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 && - TAG_VALID_ZERO(vpt->tmpl_tag)) { + TAG_VALID(vpt->tmpl_tag)) { 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);