diff --git a/libraries/Ethernet/src/Dhcp.h b/libraries/Ethernet/src/Dhcp.h index 4a47936f0..1a533ef00 100644 --- a/libraries/Ethernet/src/Dhcp.h +++ b/libraries/Ethernet/src/Dhcp.h @@ -120,7 +120,7 @@ enum endOption = 255 }; -typedef struct _RIP_MSG_FIXED +typedef struct __attribute__((packed)) _RIP_MSG_FIXED { uint8_t op; uint8_t htype;