From 0c9ae3cb1b904a6225175e2702328ed5089273e5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 14 May 2009 21:37:55 +0200 Subject: [PATCH] iface: enable for multiprotocol --- extensions/libxt_iface.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/extensions/libxt_iface.c b/extensions/libxt_iface.c index 091951e..3b21a64 100644 --- a/extensions/libxt_iface.c +++ b/extensions/libxt_iface.c @@ -200,22 +200,7 @@ static struct xtables_match iface_mt_reg = { .version = XTABLES_VERSION, .name = "iface", .revision = 0, - .family = AF_INET, - .size = XT_ALIGN(sizeof(struct xt_iface_mtinfo)), - .userspacesize = XT_ALIGN(sizeof(struct xt_iface_mtinfo)), - .help = iface_mt_help, - .parse = iface_mt_parse, - .final_check = iface_mt_check, - .print = iface_mt_print, - .save = iface_mt_save, - .extra_opts = iface_mt_opts, -}; - -static struct xtables_match iface_mt6_reg = { - .version = XTABLES_VERSION, - .name = "iface", - .revision = 0, - .family = AF_INET6, + .family = AF_UNSPEC, .size = XT_ALIGN(sizeof(struct xt_iface_mtinfo)), .userspacesize = XT_ALIGN(sizeof(struct xt_iface_mtinfo)), .help = iface_mt_help, @@ -229,5 +214,4 @@ static struct xtables_match iface_mt6_reg = { static void _init(void) { xtables_register_match(&iface_mt_reg); - xtables_register_match(&iface_mt6_reg); }