Bug 1951 - AODV does not update nexthop for 1-hop nodes
This commit is contained in:
@@ -32,6 +32,7 @@ Bugs fixed
|
||||
- Bug 1932 - NdiscCache entry is not failsafe on double neighbor probing.
|
||||
- Bug 1937 - FlowMonitor fails to track multiplexed packets
|
||||
- Bug 1943 - Waveform generator signal duration calc error
|
||||
- Bug 1951 - AODV does not update nexthop for 1-hop nodes
|
||||
|
||||
Known issues
|
||||
------------
|
||||
|
||||
@@ -1116,6 +1116,8 @@ RoutingProtocol::RecvRequest (Ptr<Packet> p, Ipv4Address receiver, Ipv4Address s
|
||||
toNeighbor.SetFlag (VALID);
|
||||
toNeighbor.SetOutputDevice (m_ipv4->GetNetDevice (m_ipv4->GetInterfaceForAddress (receiver)));
|
||||
toNeighbor.SetInterface (m_ipv4->GetAddress (m_ipv4->GetInterfaceForAddress (receiver), 0));
|
||||
toNeighbor.SetHop (1);
|
||||
toNeighbor.SetNextHop (src);
|
||||
m_routingTable.Update (toNeighbor);
|
||||
}
|
||||
m_nb.Update (src, Time (AllowedHelloLoss * HelloInterval));
|
||||
@@ -1444,6 +1446,8 @@ RoutingProtocol::ProcessHello (RrepHeader const & rrepHeader, Ipv4Address receiv
|
||||
toNeighbor.SetFlag (VALID);
|
||||
toNeighbor.SetOutputDevice (m_ipv4->GetNetDevice (m_ipv4->GetInterfaceForAddress (receiver)));
|
||||
toNeighbor.SetInterface (m_ipv4->GetAddress (m_ipv4->GetInterfaceForAddress (receiver), 0));
|
||||
toNeighbor.SetHop (1);
|
||||
toNeighbor.SetNextHop (rrepHeader.GetDst ());
|
||||
m_routingTable.Update (toNeighbor);
|
||||
}
|
||||
if (EnableHello)
|
||||
|
||||
Reference in New Issue
Block a user