]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Print the number of the unknown type
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 15 May 2016 12:36:12 +0000 (08:36 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 15 May 2016 12:37:28 +0000 (08:37 -0400)
src/main/conffile.c

index 914179ca650c512207a8464f29527a730cd44625..ce2a9296f076d146e0a2e9cb9409b3f16ff7d237 100644 (file)
@@ -1883,8 +1883,8 @@ static int cf_pair_parse_value(void *out, TALLOC_CTX *ctx, CONF_SECTION *cs, CON
                rad_assert(type > PW_TYPE_INVALID);
                rad_assert(type < PW_TYPE_MAX);
 
-               cf_log_err(&(cp->item), "type '%s' is not supported in the configuration files",
-                          fr_int2str(dict_attr_types, type, "?Unknown?"));
+               cf_log_err(&(cp->item), "type '%s' (%i) is not supported in the configuration files",
+                          fr_int2str(dict_attr_types, type, "?Unknown?"), type);
                rcode = -1;
                goto error;
        }