[NETFILTER]: nf_nat: pass manip type instead of hook to nf_nat_setup_info
[linux-2.6.git] / net / ipv4 / netfilter / ipt_MASQUERADE.c
index f541503..1cbff7b 100644 (file)
@@ -95,7 +95,7 @@ masquerade_tg(struct sk_buff *skb, const struct net_device *in,
                  mr->range[0].min, mr->range[0].max });
 
        /* Hand modified range to generic setup. */
-       return nf_nat_setup_info(ct, &newrange, hooknum);
+       return nf_nat_setup_info(ct, &newrange, IP_NAT_MANIP_SRC);
 }
 
 static int