fix optimized build; remove old comment

This commit is contained in:
Tom Henderson
2007-08-12 14:24:49 -07:00
parent 883d92940f
commit 915e34b32b

View File

@@ -860,9 +860,6 @@ GlobalRouteManagerImpl::SPFNexthopCalculation (
// Router Link Record we find that describes a point-to-point link from <v>
// to <w>. If prev_link is not NULL, we return a Global Router Link Record
// representing a possible *second* link from <v> to <w>.
//
// BUGBUG FIXME: This seems to be a bug. Shouldn't this function look for
// any link records after pre_link and not just after the first?
//
GlobalRoutingLinkRecord*
GlobalRouteManagerImpl::SPFGetNextLink (
@@ -1450,8 +1447,8 @@ GlobalRouteManagerImpl::SPFIntraAddTransit (SPFVertex* v)
NS_ASSERT_MSG (lsa,
"GlobalRouteManagerImpl::SPFIntraAddTransit (): "
"Expected valid LSA in SPFVertex* v");
Ipv4Mask tempmask = v->GetLSA ()->GetNetworkLSANetworkMask ();
Ipv4Address tempip = v->GetLSA ()->GetLinkStateId ();
Ipv4Mask tempmask = lsa->GetNetworkLSANetworkMask ();
Ipv4Address tempip = lsa->GetLinkStateId ();
tempip = tempip.CombineMask (tempmask);
ipv4->AddNetworkRouteTo (tempip, tempmask, v->GetNextHop (),
v->GetOutgoingInterfaceId ());