diff options
author | Patrick McHardy <kaber@trash.net> | 2006-10-12 17:07:52 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-10-16 02:14:06 -0400 |
commit | f64ad5bb044326c6ebc6535d661c1abe78a0e5f2 (patch) | |
tree | f0f87a6cedc74f34fc4c7264d732fdf005ba40a1 | |
parent | be60358e948484e472c88bf8a2d77e644ff5ed83 (diff) |
[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>
-rw-r--r-- | net/netfilter/xt_NFQUEUE.c | 2 | ||||
-rw-r--r-- | net/netfilter/xt_connmark.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/xt_NFQUEUE.c b/net/netfilter/xt_NFQUEUE.c index db9b896e57c8..39e117502bd7 100644 --- a/net/netfilter/xt_NFQUEUE.c +++ b/net/netfilter/xt_NFQUEUE.c | |||
@@ -68,7 +68,7 @@ static int __init xt_nfqueue_init(void) | |||
68 | 68 | ||
69 | static void __exit xt_nfqueue_fini(void) | 69 | static void __exit xt_nfqueue_fini(void) |
70 | { | 70 | { |
71 | xt_register_targets(xt_nfqueue_target, ARRAY_SIZE(xt_nfqueue_target)); | 71 | xt_unregister_targets(xt_nfqueue_target, ARRAY_SIZE(xt_nfqueue_target)); |
72 | } | 72 | } |
73 | 73 | ||
74 | module_init(xt_nfqueue_init); | 74 | module_init(xt_nfqueue_init); |
diff --git a/net/netfilter/xt_connmark.c b/net/netfilter/xt_connmark.c index 92a5726ef237..a8f03057dbde 100644 --- a/net/netfilter/xt_connmark.c +++ b/net/netfilter/xt_connmark.c | |||
@@ -147,7 +147,7 @@ static int __init xt_connmark_init(void) | |||
147 | 147 | ||
148 | static void __exit xt_connmark_fini(void) | 148 | static void __exit xt_connmark_fini(void) |
149 | { | 149 | { |
150 | xt_register_matches(xt_connmark_match, ARRAY_SIZE(xt_connmark_match)); | 150 | xt_unregister_matches(xt_connmark_match, ARRAY_SIZE(xt_connmark_match)); |
151 | } | 151 | } |
152 | 152 | ||
153 | module_init(xt_connmark_init); | 153 | module_init(xt_connmark_init); |