]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
print parent name, too
authorAlan T. DeKok <aland@freeradius.org>
Tue, 28 Mar 2017 20:09:28 +0000 (16:09 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 28 Mar 2017 20:09:28 +0000 (16:09 -0400)
src/lib/dict.c

index 402e10f8dd66cfcbddb66d0e0f76a721c44b2ddb..4853ad7fa41af5cb02d1d44789f1c98a3cefcb6a 100644 (file)
@@ -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, "<INVALID>"));
                                        goto error;
                                }