]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
this is no longer needed
authorAlan T. DeKok <aland@freeradius.org>
Fri, 18 Mar 2022 23:55:17 +0000 (19:55 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 18 Mar 2022 23:55:17 +0000 (19:55 -0400)
src/protocols/dhcpv4/base.c

index c899a62214e16c44f95cf38b5064a4323137e8ba..5a7561fb4d58642db0b16e29ab4917233b2cd709 100644 (file)
@@ -765,10 +765,6 @@ static bool attr_valid(UNUSED fr_dict_t *dict, UNUSED fr_dict_attr_t const *pare
                        fr_strerror_const("string/octets arrays require the 'length=uint8' flag");
                        return false;
                }
-
-       } else if (flags->array && !flags->length && !flags->is_known_width) {
-               fr_strerror_const("Variable length attributes cannot be marked as 'array'");
-               return false;
        }
 
        /*