Skip to content

Commit

Permalink
[NETFILTER]: x_tables: Fix typos after conversion to use mass regista…
Browse files Browse the repository at this point in the history
…tion helper

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Thomas Graf authored and David S. Miller committed Sep 22, 2006
1 parent 3fd091e commit 2809486
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions net/netfilter/xt_CONNSECMARK.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion net/netfilter/xt_SECMARK.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2809486

Please sign in to comment.