Skip to content

Commit b032f74

Browse files
committed
Ehternet: added packed attribute on DHCP message struct
1 parent 79fde3a commit b032f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Ethernet/src/Dhcp.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ enum
120120
endOption = 255
121121
};
122122

123-
typedef struct _RIP_MSG_FIXED
123+
typedef struct __attribute__((packed)) _RIP_MSG_FIXED
124124
{
125125
uint8_t op;
126126
uint8_t htype;

0 commit comments

Comments
 (0)