Fiexd some build errors of ipfw on ubuntu 22.04 (kernel:5.19.0-1025, gcc:11.4.0),

Ref #777.
This commit is contained in:
fengbojiang 2023-08-14 20:45:10 +08:00
parent 0ee517ed0a
commit 2f169245d3
1 changed files with 2 additions and 2 deletions

View File

@ -52,13 +52,13 @@ struct grehdr {
struct greip {
struct ip gi_ip;
struct grehdr gi_gre;
} __packed;
} __packed __aligned(2);
struct greudp {
struct ip gi_ip;
struct udphdr gi_udp;
struct grehdr gi_gre;
} __packed;
} __packed __aligned(2);
#endif /* INET */
#ifdef INET6