]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/netfilter/xt_RATEEST.c
netfilter: x_tables: use NFPROTO_* in extensions
[mirror_ubuntu-artful-kernel.git] / net / netfilter / xt_RATEEST.c
index 64d6ad380293bc87b41499a0383d3e510b127876..f7114fc5cfc22b5cca2ce0dac45ca5124f4a6862 100644 (file)
@@ -159,7 +159,7 @@ static void xt_rateest_tg_destroy(const struct xt_target *target,
 
 static struct xt_target xt_rateest_target[] __read_mostly = {
        {
-               .family         = AF_INET,
+               .family         = NFPROTO_IPV4,
                .name           = "RATEEST",
                .target         = xt_rateest_tg,
                .checkentry     = xt_rateest_tg_checkentry,
@@ -168,7 +168,7 @@ static struct xt_target xt_rateest_target[] __read_mostly = {
                .me             = THIS_MODULE,
        },
        {
-               .family         = AF_INET6,
+               .family         = NFPROTO_IPV6,
                .name           = "RATEEST",
                .target         = xt_rateest_tg,
                .checkentry     = xt_rateest_tg_checkentry,