]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove TLV hack from DHCPv6
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 8 Dec 2018 21:42:33 +0000 (16:42 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 10 Dec 2018 16:20:39 +0000 (11:20 -0500)
src/protocols/dhcpv6/encode.c

index a506162822f546e5ec86688a40182ae5d15548de..2f2346964b677f5e1c79c58fa3bc47d605945231 100644 (file)
@@ -912,7 +912,6 @@ ssize_t fr_dhcpv6_encode_option(uint8_t *out, size_t outlen, fr_cursor_t *cursor
 
        fr_proto_tlv_stack_build(tlv_stack, vp->da);
 
-       depth++;        /* Skip the root attribute */
        FR_PROTO_STACK_PRINT(tlv_stack, depth);
 
        /*