aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r--networking/udhcp/common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index bf0ecc7b1..0f3b79647 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -43,13 +43,13 @@ struct dhcpMessage {
43 uint8_t file[128]; 43 uint8_t file[128];
44 uint32_t cookie; 44 uint32_t cookie;
45 uint8_t options[DHCP_OPTIONS_BUFSIZE + CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS]; 45 uint8_t options[DHCP_OPTIONS_BUFSIZE + CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS];
46} ATTRIBUTE_PACKED; 46} PACKED;
47 47
48struct udp_dhcp_packet { 48struct udp_dhcp_packet {
49 struct iphdr ip; 49 struct iphdr ip;
50 struct udphdr udp; 50 struct udphdr udp;
51 struct dhcpMessage data; 51 struct dhcpMessage data;
52} ATTRIBUTE_PACKED; 52} PACKED;
53 53
54/* Let's see whether compiler understood us right */ 54/* Let's see whether compiler understood us right */
55struct BUG_bad_sizeof_struct_udp_dhcp_packet { 55struct BUG_bad_sizeof_struct_udp_dhcp_packet {