--- a/src/internet-stack/ipv4-l3-protocol.cc Tue Feb 24 08:20:51 2009 +0100
+++ b/src/internet-stack/ipv4-l3-protocol.cc Tue Feb 24 08:29:36 2009 +0100
@@ -1068,7 +1068,7 @@
// If interface address and network mask have been set, add a route
// to the network of the interface (like e.g. ifconfig does on a
// Linux box)
- if ((interface->GetAddress ()) != (Ipv4Address ())
+ if (((interface->GetAddress ()) != (Ipv4Address ()))
&& (interface->GetNetworkMask ()) != (Ipv4Mask ()))
{
AddNetworkRouteTo (interface->GetAddress ().CombineMask (interface->GetNetworkMask ()),