aboutsummaryrefslogtreecommitdiff
path: root/net/ipv4/netfilter/nf_nat_rule.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-06-13 06:25:44 +0200
committerJan Engelhardt <jengelh@medozas.de>2009-08-10 13:35:23 +0200
commitf88e6a8a50a603f8347343e75d035889784a507c (patch)
treeedc6de5f0b937f87bfa7c817c08907a1afe4a04d /net/ipv4/netfilter/nf_nat_rule.c
parent24c232d8e911ef6189e02da411dc2b72cb03bfcf (diff)
netfilter: xtables: switch table AFs to nfproto
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'net/ipv4/netfilter/nf_nat_rule.c')
-rw-r--r--net/ipv4/netfilter/nf_nat_rule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nf_nat_rule.c b/net/ipv4/netfilter/nf_nat_rule.c
index 6348a793936..6448a9b7d6f 100644
--- a/net/ipv4/netfilter/nf_nat_rule.c
+++ b/net/ipv4/netfilter/nf_nat_rule.c
@@ -62,7 +62,7 @@ static struct xt_table nat_table = {
.name = "nat",
.valid_hooks = NAT_VALID_HOOKS,
.me = THIS_MODULE,
- .af = AF_INET,
+ .af = NFPROTO_IPV4,
};
/* Source NAT */