Bug 850 - Ipv4GlobalRouting::LookupGlobal bug
Ipv4GlobalRouting::LookupGlobal bug
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: routing
ns-3.7
All All
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-28 12:22 UTC by Andrey Churin
Modified: 2010-03-28 23:54 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Churin 2010-03-28 12:22:59 UTC
Ipv4GlobalRouting::LookupGlobal crashes if oif parameter is set.
Comment 1 Andrey Churin 2010-03-28 14:54:10 UTC
Fix:

line 146:
if (oif != m_ipv4->GetNetDevice((*i)->GetInterface ()))

line 170:
if (oif != m_ipv4->GetNetDevice((*j)->GetInterface ()))

line 194:
if (oif != m_ipv4->GetNetDevice((*k)->GetInterface ()))
Comment 2 Tom Henderson 2010-03-28 23:54:59 UTC
changeset fbd5ec1d7a2f