DORMANTno replies

[PATCH iptables] fix build for missing ETH_ALEN definition

From: Maciej Żenczykowski <hidden>
Date: 2021-04-02 20:26:42
Also in: netfilter-devel
Subsystem: the rest · Maintainer: Linus Torvalds

From: Maciej Żenczykowski <redacted>

(this is needed at least with bionic)

Signed-off-by: Maciej Żenczykowski <redacted>
---
 libxtables/xtables.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/libxtables/xtables.c b/libxtables/xtables.c
index bc42ba82..77bc18f6 100644
--- a/libxtables/xtables.c
+++ b/libxtables/xtables.c
@@ -45,6 +45,7 @@
 
 #include <xtables.h>
 #include <limits.h> /* INT_MAX in ip_tables.h/ip6_tables.h */
+#include <linux/if_ether.h> /* ETH_ALEN */
 #include <linux/netfilter_ipv4/ip_tables.h>
 #include <linux/netfilter_ipv6/ip6_tables.h>
 #include <libiptc/libxtc.h>
-- 
2.31.0.208.g409f899ff0-goog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help