netfilter: x_tables: use NFPROTO_* in extensions
[deliverable/linux.git] / net / netfilter / xt_connbytes.c
index 3e39c4fe1931b4f91655b406eee2f5bca9395c7d..d2cd22a49c96e933b9bb1c9a1f883bf814b299ca 100644 (file)
@@ -130,7 +130,7 @@ connbytes_mt_destroy(const struct xt_match *match, void *matchinfo)
 static struct xt_match connbytes_mt_reg[] __read_mostly = {
        {
                .name           = "connbytes",
-               .family         = AF_INET,
+               .family         = NFPROTO_IPV4,
                .checkentry     = connbytes_mt_check,
                .match          = connbytes_mt,
                .destroy        = connbytes_mt_destroy,
@@ -139,7 +139,7 @@ static struct xt_match connbytes_mt_reg[] __read_mostly = {
        },
        {
                .name           = "connbytes",
-               .family         = AF_INET6,
+               .family         = NFPROTO_IPV6,
                .checkentry     = connbytes_mt_check,
                .match          = connbytes_mt,
                .destroy        = connbytes_mt_destroy,
This page took 0.024196 seconds and 5 git commands to generate.