]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
clarify error message
authorAlan T. DeKok <aland@freeradius.org>
Sat, 11 Dec 2021 14:08:52 +0000 (09:08 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 11 Dec 2021 14:08:52 +0000 (09:08 -0500)
src/lib/util/value.c

index 6412297c298abfcac04cf93a786297dd6494e8e3..3be71cd54cb70c7b1b3f5574bc2aea66a06316c3 100644 (file)
@@ -4965,7 +4965,7 @@ parse:
                break;
 
        default:
-               fr_strerror_printf("Unknown attribute dst_type %d", dst_type);
+               fr_strerror_printf("Cannot parse input as data type %s", fr_table_str_by_value(fr_value_box_type_table, dst_type, "<INVALID>"));
                return -1;
        }