aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-04-14 14:26:49 +0200
committerJan Engelhardt <jengelh@medozas.de>2009-05-08 10:30:46 +0200
commit4b1e27e99f354ad90a1cbdda352b84763e70ac78 (patch)
treebdeeaef5571e33a1ad2feb82996a67e2c618fa5f /net/ipv4
parent383ca5b874fad082a61af0f47610a1af83e6bb44 (diff)
downloadkernel_samsung_crespo-4b1e27e99f354ad90a1cbdda352b84763e70ac78.zip
kernel_samsung_crespo-4b1e27e99f354ad90a1cbdda352b84763e70ac78.tar.gz
kernel_samsung_crespo-4b1e27e99f354ad90a1cbdda352b84763e70ac78.tar.bz2
netfilter: queue: use NFPROTO_ for queue callsites
af is an nfproto. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/ip_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_queue.c b/net/ipv4/netfilter/ip_queue.c
index 5f22c91..c156db2 100644
--- a/net/ipv4/netfilter/ip_queue.c
+++ b/net/ipv4/netfilter/ip_queue.c
@@ -596,7 +596,7 @@ static int __init ip_queue_init(void)
#ifdef CONFIG_SYSCTL
ipq_sysctl_header = register_sysctl_paths(net_ipv4_ctl_path, ipq_table);
#endif
- status = nf_register_queue_handler(PF_INET, &nfqh);
+ status = nf_register_queue_handler(NFPROTO_IPV4, &nfqh);
if (status < 0) {
printk(KERN_ERR "ip_queue: failed to register queue handler\n");
goto cleanup_sysctl;