[NETFILTER]: add type parameter to ip_route_me_harder
[linux-2.6.git] / net / ipv4 / netfilter / ip_nat_standalone.c
index 021395b..d85d2de 100644 (file)
@@ -265,7 +265,8 @@ ip_nat_local_fn(unsigned int hooknum,
                       ct->tuplehash[!dir].tuple.src.u.all
 #endif
                    )
-                       return ip_route_me_harder(pskb) == 0 ? ret : NF_DROP;
+                       if (ip_route_me_harder(pskb, RTN_UNSPEC))
+                               ret = NF_DROP;
        }
        return ret;
 }