]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
iface: use NFPROTO_*
authorJan Engelhardt <jengelh@medozas.de>
Sun, 26 Apr 2009 19:59:41 +0000 (21:59 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sun, 26 Apr 2009 19:59:41 +0000 (21:59 +0200)
extensions/xt_iface.c

index a30fabf33089d790e4645e2f1a12ad8705742f87..2d633cd725bd916382bff64a63b10841d4a365ec 100644 (file)
@@ -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,