]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
ignore exact flag for now
authorAlan T. DeKok <aland@freeradius.org>
Sat, 19 Mar 2022 14:37:03 +0000 (10:37 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 19 Mar 2022 14:37:03 +0000 (10:37 -0400)
src/protocols/dhcpv4/decode.c

index f86a28e343e8853d7f8d37c33d7cc6451fed03eb..71bcf33f164d5137aa5ebffc4031ac5cfc29524a 100644 (file)
@@ -220,7 +220,10 @@ static ssize_t decode_value(TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t
 
                        needs = 1 + ((*p + 0x07) >> 3);
                        if (data_len < needs) goto raw;
+
+#if 0
                        if (exact && (data_len > needs)) goto raw;
+#endif
 
                        vp->vp_ip.prefix = *p;