From 67998063001d93a740bd9582d6d1697692b940a2 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 26 Apr 2009 21:59:41 +0200 Subject: [PATCH] iface: use NFPROTO_* --- extensions/xt_iface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/xt_iface.c b/extensions/xt_iface.c index a30fabf..2d633cd 100644 --- a/extensions/xt_iface.c +++ b/extensions/xt_iface.c @@ -60,7 +60,7 @@ static struct xt_match xt_iface_mt_reg[] __read_mostly = { { .name = _MODULE_NAME, .revision = _MODULE_REVISION, - .family = AF_INET, + .family = NFPROTO_IPV4, .matchsize = XT_ALIGN(sizeof(struct xt_iface_mtinfo)), .match = xt_iface_mt, .data = 0, @@ -69,7 +69,7 @@ static struct xt_match xt_iface_mt_reg[] __read_mostly = { { .name = _MODULE_NAME, .revision = _MODULE_REVISION, - .family = AF_INET6, + .family = NFPROTO_IPV6, .matchsize = XT_ALIGN(sizeof(struct xt_iface_mtinfo)), .match = xt_iface_mt, .data = 0,