From: Alan T. DeKok Date: Tue, 28 Mar 2017 20:09:28 +0000 (-0400) Subject: print parent name, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a1373a2b2bd2d7bbf77bf5436821b06c8868c33;p=thirdparty%2Ffreeradius-server.git print parent name, too --- diff --git a/src/lib/dict.c b/src/lib/dict.c index 402e10f8dd6..4853ad7fa41 100644 --- a/src/lib/dict.c +++ b/src/lib/dict.c @@ -3361,8 +3361,9 @@ ssize_t fr_dict_unknown_afrom_oid_str(TALLOC_CTX *ctx, fr_dict_attr_t **out, * PW_TYPE_STRING (for example) */ default: - fr_strerror_printf("Previous OID component in \"%.*s\" specified a " - "non-structural type (%s)", (int)(p - oid_str), oid_str, + fr_strerror_printf("Parent OID component (%s) in \"%.*s\" specified a " + "non-structural type (%s)", our_parent->name, + (int)(p - oid_str), oid_str, fr_int2str(dict_attr_types, our_parent->type, "")); goto error; }