]> err.no Git - linux-2.6/blobdiff - net/netfilter/xt_NFQUEUE.c
[NETFILTER]: TCP conntrack: factorize out the PUSH flag
[linux-2.6] / net / netfilter / xt_NFQUEUE.c
index 7b982283abdbe297fdb66d7e1ff0189caa8f3317..201155b316e0a8452c0e986b309c70d8a1ef219e 100644 (file)
@@ -3,9 +3,9 @@
  * (C) 2005 by Harald Welte <laforge@netfilter.org>
  *
  * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as 
+ * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- * 
+ *
  */
 
 #include <linux/module.h>
@@ -29,8 +29,7 @@ target(struct sk_buff **pskb,
        const struct net_device *out,
        unsigned int hooknum,
        const struct xt_target *target,
-       const void *targinfo,
-       void *userinfo)
+       const void *targinfo)
 {
        const struct xt_NFQ_info *tinfo = targinfo;
 
@@ -69,7 +68,7 @@ static int __init xt_nfqueue_init(void)
 
 static void __exit xt_nfqueue_fini(void)
 {
-       xt_register_targets(xt_nfqueue_target, ARRAY_SIZE(xt_nfqueue_target));
+       xt_unregister_targets(xt_nfqueue_target, ARRAY_SIZE(xt_nfqueue_target));
 }
 
 module_init(xt_nfqueue_init);