X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=net%2Fbootp.h;h=567340ec5d4a250498c7c8bdf30675552ab5b831;hb=60c7facfc965af6ff8ea14ee26c9d49cd2d0ec22;hp=fcb0a64e6143c550e101e0fd7597a56804e1ef32;hpb=b8d7652c81689a69bc6eaa206cf875bbe632831c;p=oweals%2Fu-boot.git diff --git a/net/bootp.h b/net/bootp.h index fcb0a64e61..567340ec5d 100644 --- a/net/bootp.h +++ b/net/bootp.h @@ -49,7 +49,7 @@ struct bootp_hdr { char bp_sname[64]; /* Server host name */ char bp_file[128]; /* Boot file name */ char bp_vend[OPT_FIELD_SIZE]; /* Vendor information */ -}; +} __attribute__((packed)); #define BOOTP_HDR_SIZE sizeof(struct bootp_hdr)