aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2006-08-22 16:52:17 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 17:55:40 -0400
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 4b0e14bb1726..467386266674 100644
--- a/net/netfilter/xt_CONNSECMARK.c
+++ b/net/netfilter/xt_CONNSECMARK.c
@@ -130,14 +130,14 @@ static struct xt_target xt_connsecmark_target[] = {
130static int __init xt_connsecmark_init(void) 130static int __init xt_connsecmark_init(void)
131{ 131{
132 need_conntrack(); 132 need_conntrack();
133 return xt_register_targets(xt_connsecmark_targets, 133 return xt_register_targets(xt_connsecmark_target,
134 ARRAY_SIZE(xt_connsecmark_targets)); 134 ARRAY_SIZE(xt_connsecmark_target));
135} 135}
136 136
137static void __exit xt_connsecmark_fini(void) 137static void __exit xt_connsecmark_fini(void)
138{ 138{
139 xt_unregister_targets(xt_connsecmark_targets, 139 xt_unregister_targets(xt_connsecmark_target,
140 ARRAY_SIZE(xt_connsecmark_targets)); 140 ARRAY_SIZE(xt_connsecmark_target));
141} 141}
142 142
143module_init(xt_connsecmark_init); 143module_init(xt_connsecmark_init);
diff --git a/net/netfilter/xt_SECMARK.c b/net/netfilter/xt_SECMARK.c
index 451b67c4bb53..add752196290 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,
111 return 1; 111 return 1;
112} 112}
113 113
114static struct xt_target xt_secmark_target = { 114static struct xt_target xt_secmark_target[] = {
115 { 115 {
116 .name = "SECMARK", 116 .name = "SECMARK",
117 .family = AF_INET, 117 .family = AF_INET,