From: James Jones Date: Fri, 8 Apr 2022 19:23:44 +0000 (-0500) Subject: change error message to match the types that can have explicit length (#4456) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=722111860e2c3b2f5627d472197643ff734d9435;p=thirdparty%2Ffreeradius-server.git change error message to match the types that can have explicit length (#4456) --- diff --git a/src/lib/util/dict_tokenize.c b/src/lib/util/dict_tokenize.c index 3deec8e6586..67b013ac538 100644 --- a/src/lib/util/dict_tokenize.c +++ b/src/lib/util/dict_tokenize.c @@ -256,7 +256,7 @@ static int dict_process_type_field(dict_tokenize_ctx_t *ctx, char const *name, f flags->flag_byte_offset = length; } else { - fr_strerror_const("Only 'octets' types can have a 'length' parameter"); + fr_strerror_const("Only 'octets', 'string', 'struct', or 'bit' types can have a 'length' parameter"); return -1; }