]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/ipv4/netfilter/ipt_MASQUERADE.c
netfilter: x_tables: use NFPROTO_* in extensions
[mirror_ubuntu-artful-kernel.git] / net / ipv4 / netfilter / ipt_MASQUERADE.c
index 0841aefaa503f072c43b620073eed84e20c40658..9a4822f8243f77331758c16760139b085ec455b5 100644 (file)
@@ -153,7 +153,7 @@ static struct notifier_block masq_inet_notifier = {
 
 static struct xt_target masquerade_tg_reg __read_mostly = {
        .name           = "MASQUERADE",
-       .family         = AF_INET,
+       .family         = NFPROTO_IPV4,
        .target         = masquerade_tg,
        .targetsize     = sizeof(struct nf_nat_multi_range_compat),
        .table          = "nat",