aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-08-09 20:43:40 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-08-09 20:43:40 +0200
commit4f70a32f46f12af59b71e869348dc5db9d0bd930 (patch)
tree854713d5a274d0860048d5fefa1ee05eabbcb367 /networking
parent85b380f6b21816b3392a987d35cfc79c25ec0ffd (diff)
downloadbusybox-4f70a32f46f12af59b71e869348dc5db9d0bd930.tar.gz
udhcpc6: s/iphdr/ip6_hdr/
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/udhcp/d6_common.h2
1 files changed, 1 insertions, 1 deletions
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