[git commit] udhcpc6: s/iphdr/ip6_hdr/

Denys Vlasenko vda.linux at googlemail.com
Fri Aug 9 18:43:40 UTC 2019


commit: https://git.busybox.net/busybox/commit/?id=4f70a32f46f12af59b71e869348dc5db9d0bd930
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/udhcp/d6_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/networking/udhcp/d6_common.h b/networking/udhcp/d6_common.h
index dee2558e2..688f5d6c7 100644
--- a/networking/udhcp/d6_common.h
+++ b/networking/udhcp/d6_common.h
@@ -34,7 +34,7 @@ struct d6_packet {
 		uint8_t d6_msg_type;
 		uint32_t d6_xid32;
 	} d6_u;
-	uint8_t d6_options[576 - sizeof(struct iphdr) - sizeof(struct udphdr) - 4
+	uint8_t d6_options[576 - sizeof(struct ip6_hdr) - sizeof(struct udphdr) - 4
 			+ CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS];
 } PACKED;
 #define d6_msg_type d6_u.d6_msg_type


More information about the busybox-cvs mailing list