Fold the two patches for bu6 69 together, building on the bug 65 patch

This commit is contained in:
Tom Henderson
2007-09-03 23:32:23 -07:00
parent e377cbad38
commit 5e7e0d7b2a
6 changed files with 71 additions and 9 deletions

View File

@@ -74,6 +74,11 @@ GetIpv4RouteToDestination (Ptr<Node> node, Ipv4Route& route,
route = tempRoute;
return true;
}
else if ( tempRoute.IsDefault () )
{
route = tempRoute;
return true;
}
}
return false;
}

View File

@@ -58,6 +58,7 @@ public:
ERROR_AFNOSUPPORT,
ERROR_INVAL,
ERROR_BADF,
ERROR_NOROUTETOHOST,
SOCKET_ERRNO_LAST
};