|
@@ -877,7 +877,7 @@ ctnetlink_change_status(struct ip_conntrack *ct, struct nfattr *cda[])
|
|
|
DEBUGP("NAT status: %lu\n",
|
|
|
status & (IPS_NAT_MASK | IPS_NAT_DONE_MASK));
|
|
|
|
|
|
- if (ip_nat_initialized(ct, hooknum))
|
|
|
+ if (ip_nat_initialized(ct, HOOK2MANIP(hooknum)))
|
|
|
return -EEXIST;
|
|
|
ip_nat_setup_info(ct, &range, hooknum);
|
|
|
|