X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fipv4.h;h=2761582f78431de9a7c888eb869f37ba44962934;hb=2a37712b0d3d5c441424cf1fac6c95f7c76cc709;hp=1e34ccbfdb262b3a2fba953c886ac85328aad133;hpb=f6e87ab476a0faf8b124ecaaa27f967d825e6457;p=tinc diff --git a/src/ipv4.h b/src/ipv4.h index 1e34ccbf..2761582f 100644 --- a/src/ipv4.h +++ b/src/ipv4.h @@ -81,7 +81,7 @@ struct ip { uint8_t ip_p; uint16_t ip_sum; struct in_addr ip_src, ip_dst; -} __attribute__((__gcc_struct__, __packed__)); +} __attribute__((__gcc_struct__)) __attribute((__packed__)); #endif #ifndef IP_OFFMASK @@ -143,7 +143,7 @@ struct icmp { #define icmp_radv icmp_dun.id_radv #define icmp_mask icmp_dun.id_mask #define icmp_data icmp_dun.id_data -} __attribute__((__gcc_struct__, __packed__)); +} __attribute__((__gcc_struct__)) __attribute((__packed__)); #endif #endif