We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96fdadd commit 6e67eeaCopy full SHA for 6e67eea
1 file changed
src/lib/util/dict_validate.c
@@ -261,10 +261,12 @@ bool dict_attr_flags_valid(fr_dict_attr_t *da)
261
ALLOW_FLAG(array);
262
263
if (!da_is_length_field(da)) {
264
- fr_assert(0);
265
goto invalid_extra;
266
}
267
+ } else if (da_is_length_field(da)) {
268
+ /* this is allowed */
269
+
270
} else if (flags->subtype) {
271
invalid_extra:
272
fr_strerror_const("Invalid type (not 'length=...') for extra flag.");
0 commit comments