generic-2.6: layer7: convert xt_match_param to xt_action_param
[openwrt/staging/chunkeey.git] / target / linux / generic-2.6 / patches-2.6.35 / 102-netfilter_layer7_match.patch
1 --- a/net/netfilter/xt_layer7.c
2 +++ b/net/netfilter/xt_layer7.c
3 @@ -416,7 +416,7 @@ static int layer7_write_proc(struct file
4
5 static bool
6 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28)
7 -match(const struct sk_buff *skbin, const struct xt_match_param *par)
8 +match(const struct sk_buff *skbin, struct xt_action_param *par)
9 #else
10 match(const struct sk_buff *skbin,
11 const struct net_device *in,