netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] netfilter: ip{,6}t_policy.h should include xp_policy.h
@ 2008-11-19 16:21 Andy Whitcroft
  2008-11-19 18:08 ` Patrick McHardy
  0 siblings, 1 reply; 8+ messages in thread
From: Andy Whitcroft @ 2008-11-19 16:21 UTC (permalink / raw)
  To: netfilter-devel, netfilter, coreteam; +Cc: Andy Whitcroft

It seems that all of the include/netfilter_{ipv4,ipv6}/{ipt,ip6t}_*.h which
share constants include the corresponding include/netfilter/xp_*.h files.
Neither ipt_policy.h not ip6t_policy.h do.  Make these consistant with
the norm.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 include/linux/netfilter_ipv4/ipt_policy.h  |    2 ++
 include/linux/netfilter_ipv6/ip6t_policy.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/linux/netfilter_ipv4/ipt_policy.h b/include/linux/netfilter_ipv4/ipt_policy.h
index b9478a2..1037fb2 100644
--- a/include/linux/netfilter_ipv4/ipt_policy.h
+++ b/include/linux/netfilter_ipv4/ipt_policy.h
@@ -1,6 +1,8 @@
 #ifndef _IPT_POLICY_H
 #define _IPT_POLICY_H
 
+#include <linux/netfilter/xt_policy.h>
+
 #define IPT_POLICY_MAX_ELEM		XT_POLICY_MAX_ELEM
 
 /* ipt_policy_flags */
diff --git a/include/linux/netfilter_ipv6/ip6t_policy.h b/include/linux/netfilter_ipv6/ip6t_policy.h
index 6bab316..b1c449d 100644
--- a/include/linux/netfilter_ipv6/ip6t_policy.h
+++ b/include/linux/netfilter_ipv6/ip6t_policy.h
@@ -1,6 +1,8 @@
 #ifndef _IP6T_POLICY_H
 #define _IP6T_POLICY_H
 
+#include <linux/netfilter/xt_policy.h>
+
 #define IP6T_POLICY_MAX_ELEM		XT_POLICY_MAX_ELEM
 
 /* ip6t_policy_flags */
-- 
1.6.0.4.911.gc990


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-11-20 10:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-19 16:21 [PATCH 1/1] netfilter: ip{,6}t_policy.h should include xp_policy.h Andy Whitcroft
2008-11-19 18:08 ` Patrick McHardy
2008-11-19 18:27   ` Jan Engelhardt
2008-11-19 18:38     ` Patrick McHardy
2008-11-20  9:45   ` Andy Whitcroft
2008-11-20  9:47     ` Patrick McHardy
2008-11-20 10:37       ` Andy Whitcroft
2008-11-20 10:38         ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).