--- a/src/internet-stack/ipv4-l3-protocol.cc Fri Apr 16 15:29:40 2010 -0700
+++ b/src/internet-stack/ipv4-l3-protocol.cc Fri Apr 16 15:55:03 2010 -0700
@@ -598,7 +598,7 @@
return;
}
// 4) packet is not broadcast, and is passed in with a route entry but route->GetGateway is not set (e.g., on-demand)
- if (route && route->GetGateway () != Ipv4Address ())
+ if (route && route->GetGateway () == Ipv4Address ())
{
// This could arise because the synchronous RouteOutput() call
// returned to the transport protocol with a source address but