From: Arran Cudbard-Bell Date: Sat, 8 Dec 2018 21:42:33 +0000 (-0500) Subject: Remove TLV hack from DHCPv6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bedfd3ab60dea58f4ee7ba3cbff27d344fe34a0e;p=thirdparty%2Ffreeradius-server.git Remove TLV hack from DHCPv6 --- diff --git a/src/protocols/dhcpv6/encode.c b/src/protocols/dhcpv6/encode.c index a506162822f..2f2346964b6 100644 --- a/src/protocols/dhcpv6/encode.c +++ b/src/protocols/dhcpv6/encode.c @@ -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); /*