]> err.no Git - linux-2.6/commitdiff
[NETFILTER]: x_tables: Fix typos after conversion to use mass registation helper
authorThomas Graf <tgraf@suug.ch>
Tue, 22 Aug 2006 20:52:17 +0000 (13:52 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:55:40 +0000 (14:55 -0700)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_CONNSECMARK.c
net/netfilter/xt_SECMARK.c

index 4b0e14bb172631e8aa178266cd97a5e1626834e7..467386266674fd09f022fce3bace77ca76370ea9 100644 (file)
@@ -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);
index 451b67c4bb53183314c8899a27bebfe11809bc16..add752196290d8c44cce0a54f4fa9de0eccff8c1 100644 (file)
@@ -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,