mirror of
https://github.com/opnsense/src.git
synced 2026-05-14 01:59:44 -04:00
Both struct ip and struct udphdr both have an aligment of 2, but the
cast from struct ip to a uint32_t pointer confused GCC 9 into raising
the required alignment to 4 and then raising a
-Waddress-of-packed-member error when casting to struct udphdr.
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D31941
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| 1_instance.c | ||
| 2_natout.c | ||
| 3_natin.c | ||
| Makefile | ||
| perf.c | ||
| util.c | ||
| util.h | ||