decode: remove useless packed attributes

pull/3762/head
Victor Julien 6 years ago
parent 948a4ccb3b
commit 9dd200b5c9

@ -84,7 +84,7 @@ typedef struct IPV4Hdr_
} ip4_un1;
uint16_t ip_addrs[4];
} ip4_hdrun1;
} __attribute__((__packed__)) IPV4Hdr;
} IPV4Hdr;
#define s_ip_src ip4_hdrun1.ip4_un1.ip_src

@ -47,7 +47,7 @@ typedef struct IPV6Hdr_
} ip6_un2;
uint16_t ip6_addrs[16];
} ip6_hdrun2;
} __attribute__((__packed__)) IPV6Hdr;
} IPV6Hdr;
#define s_ip6_src ip6_hdrun2.ip6_un2.ip6_src
#define s_ip6_dst ip6_hdrun2.ip6_un2.ip6_dst

Loading…
Cancel
Save