Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28094864 authored by Thomas Graf's avatar Thomas Graf Committed by David S. Miller
Browse files

[NETFILTER]: x_tables: Fix typos after conversion to use mass registation helper



Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3fd091e7
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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,