aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/netfilter/ebt_mark.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2008-10-08 05:35:15 -0400
committerPatrick McHardy <kaber@trash.net>2008-10-08 05:35:15 -0400
commit043ef46c7690bfdbd5b012e15812a14a19ca5604 (patch)
tree5758fd3b01b7fd338c7ae39496dc7cdf5a393dd9 /net/bridge/netfilter/ebt_mark.c
parent2d06d4a5cc107046508d860a0b47dbc43b829b79 (diff)
netfilter: move Ebtables to use Xtables
Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/bridge/netfilter/ebt_mark.c')
-rw-r--r--net/bridge/netfilter/ebt_mark.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/bridge/netfilter/ebt_mark.c b/net/bridge/netfilter/ebt_mark.c
index 92c67271bd8..dff19fc91cf 100644
--- a/net/bridge/netfilter/ebt_mark.c
+++ b/net/bridge/netfilter/ebt_mark.c
@@ -59,8 +59,8 @@ ebt_mark_tg_check(const char *table, const void *e,
59 return true; 59 return true;
60} 60}
61 61
62static struct ebt_target mark_target __read_mostly = { 62static struct xt_target ebt_mark_tg_reg __read_mostly = {
63 .name = EBT_MARK_TARGET, 63 .name = "mark",
64 .revision = 0, 64 .revision = 0,
65 .family = NFPROTO_BRIDGE, 65 .family = NFPROTO_BRIDGE,
66 .target = ebt_mark_tg, 66 .target = ebt_mark_tg,
@@ -71,12 +71,12 @@ static struct ebt_target mark_target __read_mostly = {
71 71
72static int __init ebt_mark_init(void) 72static int __init ebt_mark_init(void)
73{ 73{
74 return ebt_register_target(&mark_target); 74 return xt_register_target(&ebt_mark_tg_reg);
75} 75}
76 76
77static void __exit ebt_mark_fini(void) 77static void __exit ebt_mark_fini(void)
78{ 78{
79 ebt_unregister_target(&mark_target); 79 xt_unregister_target(&ebt_mark_tg_reg);
80} 80}
81 81
82module_init(ebt_mark_init); 82module_init(ebt_mark_init);