diff options
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> | 2006-01-17 10:26:34 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-01-17 10:26:34 (GMT) |
commit | ccc91324a1b44d345ab4f814eb2ff453c7e98f9e (patch) | |
tree | 24ac07d2a014a5f6b8dcc685fb76afea1048485d /net/ipv4/netfilter | |
parent | e35bedf369b17120dbd7d554bee45407a3825267 (diff) | |
download | linux-fsl-qoriq-ccc91324a1b44d345ab4f814eb2ff453c7e98f9e.tar.xz |
[NETFILTER] ip[6]t_policy: Fix compilation warnings
ip[6]t_policy argument conversion slipped when merging with x_tables
Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter')
-rw-r--r-- | net/ipv4/netfilter/ipt_policy.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/ipv4/netfilter/ipt_policy.c b/net/ipv4/netfilter/ipt_policy.c index 709debc..18ca825 100644 --- a/net/ipv4/netfilter/ipt_policy.c +++ b/net/ipv4/netfilter/ipt_policy.c @@ -95,7 +95,10 @@ match_policy_out(const struct sk_buff *skb, const struct ipt_policy_info *info) static int match(const struct sk_buff *skb, const struct net_device *in, const struct net_device *out, - const void *matchinfo, int offset, int *hotdrop) + const void *matchinfo, + int offset, + unsigned int protoff, + int *hotdrop) { const struct ipt_policy_info *info = matchinfo; int ret; @@ -113,7 +116,7 @@ static int match(const struct sk_buff *skb, return ret; } -static int checkentry(const char *tablename, const struct ipt_ip *ip, +static int checkentry(const char *tablename, const void *ip_void, void *matchinfo, unsigned int matchsize, unsigned int hook_mask) { |