X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FIPStack%2Farp.h;h=07cdb64dd51b9d6ef9f21730dce7dba26978a7b0;hb=c2bba6e776701404229ef2bebe10c8dc9046b026;hp=64f07c3e9e1b2744572c2f8c082a217de0d05267;hpb=6c5a509b5e14e097ca537c539bc9babe3b8f0c4c;p=tpg%2Facess2.git diff --git a/Modules/IPStack/arp.h b/Modules/IPStack/arp.h index 64f07c3e..07cdb64d 100644 --- a/Modules/IPStack/arp.h +++ b/Modules/IPStack/arp.h @@ -19,7 +19,7 @@ struct sArpRequest4 { tIPv4 SourceIP; tMacAddr DestMac; tIPv4 DestIP; -}; +} __attribute__((packed)); struct sArpRequest6 { Uint16 HWType; @@ -30,6 +30,6 @@ struct sArpRequest6 { tIPv6 SourceIP; tMacAddr DestMac; tIPv6 DestIP; -}; +} __attribute__((packed)); #endif