]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Skip internal attributes. Non-protocol attributes must also be marked as internal
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 5 Nov 2019 01:37:29 +0000 (19:37 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 5 Nov 2019 01:39:07 +0000 (19:39 -0600)
src/protocols/dhcpv6/base.c

index 1eec89ae0c13f601b78dc8867a580b887936946d..24f6731213dc60f85dbf009b426f5b36e2eac2f5 100644 (file)
@@ -462,7 +462,7 @@ int fr_dhcpv6_global_init(void)
         */
        child = NULL;
        while ((child = fr_dict_attr_iterate_children(fr_dict_root(dict_dhcpv6), &child)) != NULL) {
-               if (child->attr > 65535) continue;
+               if (child->flags.internal) continue;
 
                value.vb_uint16 = child->attr;