diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-08-22 16:52:17 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:55:40 -0400 |
commit | 2809486424df58043b380aeb9d7f402c031c46f6 (patch) | |
tree | 60d502933dfb03185adc398fbba1b8af5381984b /net/netfilter | |
parent | 3fd091e73b81f131e1567c4d4a1ec042940bf2f7 (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.c | 8 | ||||
-rw-r--r-- | net/netfilter/xt_SECMARK.c | 2 |
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[] = { | |||
130 | static int __init xt_connsecmark_init(void) | 130 | static 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 | ||
137 | static void __exit xt_connsecmark_fini(void) | 137 | static 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 | ||
143 | module_init(xt_connsecmark_init); | 143 | module_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 | ||
114 | static struct xt_target xt_secmark_target = { | 114 | static struct xt_target xt_secmark_target[] = { |
115 | { | 115 | { |
116 | .name = "SECMARK", | 116 | .name = "SECMARK", |
117 | .family = AF_INET, | 117 | .family = AF_INET, |