diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-06-13 06:20:29 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-08-10 13:35:21 +0200 |
commit | 24c232d8e911ef6189e02da411dc2b72cb03bfcf (patch) | |
tree | 7451572c23a05cfef8dd674e09ed733321590ec1 /net/ipv4/netfilter/iptable_filter.c | |
parent | 57750a22ed022ed6fcdcc5bc58d16011ccfe575f (diff) | |
download | kernel_samsung_smdk4412-24c232d8e911ef6189e02da411dc2b72cb03bfcf.zip kernel_samsung_smdk4412-24c232d8e911ef6189e02da411dc2b72cb03bfcf.tar.gz kernel_samsung_smdk4412-24c232d8e911ef6189e02da411dc2b72cb03bfcf.tar.bz2 |
netfilter: xtables: switch hook PFs to nfproto
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/ipv4/netfilter/iptable_filter.c')
-rw-r--r-- | net/ipv4/netfilter/iptable_filter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/netfilter/iptable_filter.c b/net/ipv4/netfilter/iptable_filter.c index c30a969..bef326c 100644 --- a/net/ipv4/netfilter/iptable_filter.c +++ b/net/ipv4/netfilter/iptable_filter.c @@ -102,21 +102,21 @@ static struct nf_hook_ops ipt_ops[] __read_mostly = { { .hook = ipt_local_in_hook, .owner = THIS_MODULE, - .pf = PF_INET, + .pf = NFPROTO_IPV4, .hooknum = NF_INET_LOCAL_IN, .priority = NF_IP_PRI_FILTER, }, { .hook = ipt_hook, .owner = THIS_MODULE, - .pf = PF_INET, + .pf = NFPROTO_IPV4, .hooknum = NF_INET_FORWARD, .priority = NF_IP_PRI_FILTER, }, { .hook = ipt_local_out_hook, .owner = THIS_MODULE, - .pf = PF_INET, + .pf = NFPROTO_IPV4, .hooknum = NF_INET_LOCAL_OUT, .priority = NF_IP_PRI_FILTER, }, |