]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
Send correct amount of used buffer for prefix exclude option (#250)
authorChristian Tomahogh <ctomahogh@insys-tec.de>
Thu, 28 Sep 2023 23:04:37 +0000 (01:04 +0200)
committerGitHub <noreply@github.com>
Thu, 28 Sep 2023 23:04:37 +0000 (00:04 +0100)
commitf2bc729e555e753625e98a705ea2aac5f8dc3cb3
tree9aa9bfb7181f06b6cbcb72a7d5afcdeaaf496d73
parentdcaf729bcaa7d9059fecb8231f395c5a0be293e0
Send correct amount of used buffer for prefix exclude option (#250)

The payload of the prefix exclude option was correctly created
but the amount of bytes to send in the DHCPv6 request was
always set to 0 which resulted in an invalid prefix exclude option

This patch fixes this behavior by calculating the correct amount
of bytes to send.
src/dhcp6.c