iptables: support xtables API > 11
authorJo-Philipp Wich <jo@mein.io>
Tue, 7 Feb 2017 21:10:19 +0000 (22:10 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 7 Feb 2017 21:10:19 +0000 (22:10 +0100)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
iptables.c

index e9f4ca7d59573189c8aa433fb322712b39f2bdb7..2f28781a3d083019693f3491020da58b6b45e0cd 100644 (file)
@@ -43,7 +43,7 @@
 #include "options.h"
 
 /* xtables interface */
-#if (XTABLES_VERSION_CODE == 10 || XTABLES_VERSION_CODE == 11)
+#if (XTABLES_VERSION_CODE >= 10)
 # include "xtables-10.h"
 #elif (XTABLES_VERSION_CODE == 5)
 # include "xtables-5.h"