netfilter: x_tables: use NFPROTO_* in extensions
[linux-2.6.git] / net / ipv4 / netfilter / ipt_REDIRECT.c
index 5c62924..ef49610 100644 (file)
@@ -92,7 +92,7 @@ redirect_tg(struct sk_buff *skb, const struct net_device *in,
 
 static struct xt_target redirect_tg_reg __read_mostly = {
        .name           = "REDIRECT",
-       .family         = AF_INET,
+       .family         = NFPROTO_IPV4,
        .target         = redirect_tg,
        .targetsize     = sizeof(struct nf_nat_multi_range_compat),
        .table          = "nat",