X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fipv4.h;h=a412c6053d101f14cb91cb4e036cc99a2869cc65;hb=cfc9fee931c70554353ce6c4acc3407baac08745;hp=708e5c1f6b0a69d192106aefca33d9c130b679cd;hpb=08f1e0cd33812f9d972dd7c59021443a8d02d0e0;p=tinc diff --git a/src/ipv4.h b/src/ipv4.h index 708e5c1f..a412c605 100644 --- a/src/ipv4.h +++ b/src/ipv4.h @@ -83,7 +83,7 @@ struct ip { uint8_t ip_p; uint16_t ip_sum; struct in_addr ip_src, ip_dst; -} __attribute__((__gcc_struct__)) __attribute((__packed__)); +}; #endif #ifndef IP_OFFMASK @@ -145,7 +145,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__)) __attribute((__packed__)); +}; #endif #endif