-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Our routing algorithm must prefer more specific routes as the best route of routing algorithm however I think you act vice versa
in RoutingTable.Resolve()
if (bestRoute == null || bestRoute.NetworkMask.ToInt() > route.NetworkMask.ToInt())
{
bestRoute = route;
}
Must Be
if (bestRoute == null || bestRoute.NetworkMask.ToInt()< route.NetworkMask.ToInt())
{
bestRoute = route;
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels