aboutsummaryrefslogtreecommitdiff
path: root/net/netfilter
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-08-22 13:52:17 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 14:55:40 -0700
commit2809486424df58043b380aeb9d7f402c031c46f6 (patch)
tree60d502933dfb03185adc398fbba1b8af5381984b /net/netfilter
parent3fd091e73b81f131e1567c4d4a1ec042940bf2f7 (diff)
[NETFILTER]: x_tables: Fix typos after conversion to use mass registation helper
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/xt_CONNSECMARK.c8
-rw-r--r--net/netfilter/xt_SECMARK.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/net/netfilter/xt_CONNSECMARK.c b/net/netfilter/xt_CONNSECMARK.c
index 4b0e14bb172..46738626667 100644
--- a/net/netfilter/xt_CONNSECMARK.c
+++ b/net/netfilter/xt_CONNSECMARK.c
@@ -130,14 +130,14 @@ static struct xt_target xt_connsecmark_target[] = {
static int __init xt_connsecmark_init(void)
{
need_conntrack();
- return xt_register_targets(xt_connsecmark_targets,
- ARRAY_SIZE(xt_connsecmark_targets));
+ return xt_register_targets(xt_connsecmark_target,
+ ARRAY_SIZE(xt_connsecmark_target));
}
static void __exit xt_connsecmark_fini(void)
{
- xt_unregister_targets(xt_connsecmark_targets,
- ARRAY_SIZE(xt_connsecmark_targets));
+ xt_unregister_targets(xt_connsecmark_target,
+ ARRAY_SIZE(xt_connsecmark_target));
}
module_init(xt_connsecmark_init);
diff --git a/net/netfilter/xt_SECMARK.c b/net/netfilter/xt_SECMARK.c
index 451b67c4bb5..add75219629 100644
--- a/net/netfilter/xt_SECMARK.c
+++ b/net/netfilter/xt_SECMARK.c
@@ -111,7 +111,7 @@ static int checkentry(const char *tablename, const void *entry,
return 1;
}
-static struct xt_target xt_secmark_target = {
+static struct xt_target xt_secmark_target[] = {
{
.name = "SECMARK",
.family = AF_INET,