From: Alan T. DeKok Date: Tue, 22 Aug 2023 12:43:28 +0000 (-0400) Subject: show which attribute had the issue X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79d46bf8949b3d721a253f55256fc71cfed32170;p=thirdparty%2Ffreeradius-server.git show which attribute had the issue --- diff --git a/src/lib/util/struct.c b/src/lib/util/struct.c index 60a6dd628f8..0a089bcfc2a 100644 --- a/src/lib/util/struct.c +++ b/src/lib/util/struct.c @@ -538,8 +538,8 @@ ssize_t fr_struct_to_network(fr_dbuff_t *dbuff, * nested attributes. */ if (vp && (vp->da->parent != parent)) { - fr_strerror_printf("%s: struct encoding is missing previous attributes (parent %s, expecting %s)", - __FUNCTION__, vp->da->parent->name, parent->name); + fr_strerror_printf("%s: struct encoding is missing previous attributes for %s (parent %s, expecting %s)", + __FUNCTION__, vp->da->name, vp->da->parent->name, parent->name); return PAIR_ENCODE_FATAL_ERROR; }