[NETFILTER]: fix cut-and-paste error in exit functions

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Patrick McHardy 2006-10-12 14:07:52 -07:00 committed by David S. Miller
parent be60358e94
commit f64ad5bb04
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ static int __init xt_nfqueue_init(void)
static void __exit xt_nfqueue_fini(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); module_init(xt_nfqueue_init);

View file

@ -147,7 +147,7 @@ static int __init xt_connmark_init(void)
static void __exit xt_connmark_fini(void) static void __exit xt_connmark_fini(void)
{ {
xt_register_matches(xt_connmark_match, ARRAY_SIZE(xt_connmark_match)); xt_unregister_matches(xt_connmark_match, ARRAY_SIZE(xt_connmark_match));
} }
module_init(xt_connmark_init); module_init(xt_connmark_init);