Skip to content

Commit

Permalink
netfilter: ip{,6}t_policy.h should include xp_policy.h
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Patrick McHardy <kaber@trash.net>
  • Loading branch information
Andy Whitcroft authored and Patrick McHardy committed Nov 20, 2008
1 parent 56bc0f9 commit 018a7bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/netfilter_ipv4/ipt_policy.h
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down
2 changes: 2 additions & 0 deletions include/linux/netfilter_ipv6/ip6t_policy.h
Original file line number Diff line number Diff line change
@@ -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 */
Expand Down

0 comments on commit 018a7bf

Please sign in to comment.