aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/netfilter/ebt_mark_m.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_m.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_m.c')
-rw-r--r--net/bridge/netfilter/ebt_mark_m.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/bridge/netfilter/ebt_mark_m.c b/net/bridge/netfilter/ebt_mark_m.c
index db64a0de4f7..aa6781c7f98 100644
--- a/net/bridge/netfilter/ebt_mark_m.c
+++ b/net/bridge/netfilter/ebt_mark_m.c
@@ -40,8 +40,8 @@ ebt_mark_mt_check(const char *table, const void *e,
40 return true; 40 return true;
41} 41}
42 42
43static struct ebt_match filter_mark __read_mostly = { 43static struct xt_match ebt_mark_mt_reg __read_mostly = {
44 .name = EBT_MARK_MATCH, 44 .name = "mark_m",
45 .revision = 0, 45 .revision = 0,
46 .family = NFPROTO_BRIDGE, 46 .family = NFPROTO_BRIDGE,
47 .match = ebt_mark_mt, 47 .match = ebt_mark_mt,
@@ -52,12 +52,12 @@ static struct ebt_match filter_mark __read_mostly = {
52 52
53static int __init ebt_mark_m_init(void) 53static int __init ebt_mark_m_init(void)
54{ 54{
55 return ebt_register_match(&filter_mark); 55 return xt_register_match(&ebt_mark_mt_reg);
56} 56}
57 57
58static void __exit ebt_mark_m_fini(void) 58static void __exit ebt_mark_m_fini(void)
59{ 59{
60 ebt_unregister_match(&filter_mark); 60 xt_unregister_match(&ebt_mark_mt_reg);
61} 61}
62 62
63module_init(ebt_mark_m_init); 63module_init(ebt_mark_m_init);