]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
build: (additional) support for Linux 4.14
authorSeth Forshee <seth.forshee@canonical.com>
Thu, 4 Jan 2018 17:50:49 +0000 (18:50 +0100)
committerJan Engelhardt <jengelh@inai.de>
Fri, 5 Jan 2018 00:35:07 +0000 (01:35 +0100)
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
extensions/compat_xtables.h

index d8882ac7670aa3d7b9a35c9077950e82e3e2937c..354884e15e1a6206767c4ba9a4b8f25db748b614 100644 (file)
@@ -93,4 +93,8 @@ static inline struct net *par_net(const struct xt_action_param *par)
 #endif
 }
 
+#ifndef NF_CT_ASSERT
+#      define NF_CT_ASSERT(x)  WARN_ON(!(x))
+#endif
+
 #endif /* _XTABLES_COMPAT_H */