From 4f70a32f46f12af59b71e869348dc5db9d0bd930 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 9 Aug 2019 20:43:40 +0200 Subject: [PATCH] udhcpc6: s/iphdr/ip6_hdr/ Signed-off-by: Denys Vlasenko --- 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 -- 2.25.1