--- linux-2.4.34-wt1/net/ipv4/netfilter/ip_nat_core.c Sat Feb 17 23:24:02 2007 +++ linux-2.4.34-wt1.pcw/net/ipv4/netfilter/ip_nat_core.c Sun Feb 18 07:20:33 2007 @@ -603,7 +603,8 @@ invert_tuplepr(&reply, tuple); h = ip_conntrack_find_get(&reply, ignored_conntrack); -#if defined(CONFIG_IP_NF_TPROXY) || defined (CONFIG_IP_NF_TPROXY_MODULE) +#if defined(CONFIG_IP_NF_NAT_NRES) && \ + (defined(CONFIG_IP_NF_TPROXY) || defined (CONFIG_IP_NF_TPROXY_MODULE)) /* check if that conntrack is marked MAY_DELETE, if so, get rid of it... */ if ((h != NULL) && test_bit(IPS_MAY_DELETE_BIT, &h->ctrack->status)) { DEBUGP("Deleting old conntrack entry for NAT\n");