dhcpv6: use compile time resolved sizeof(struct in6_addr) for IPv6 values
authorPaul Donald <[email protected]>
Thu, 13 Nov 2025 00:33:19 +0000 (01:33 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Thu, 13 Nov 2025 12:37:13 +0000 (13:37 +0100)
commit5a02da9c12007ebffbcbd5dd5f37b66b030ad745
tree86e815d10ba1ec0e958333ab7f6dd97865edd82f
parentcf203ceb3fc8434b1b9ab31bfc3c59ef33d1c785
dhcpv6: use compile time resolved sizeof(struct in6_addr) for IPv6 values

make it evident where 16 byte sizes come from, for the options that take IPv6

Signed-off-by: Paul Donald <[email protected]>
Link: https://github.com/openwrt/odhcp6c/pull/118
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/dhcpv6.c