View | Details | Raw Unified | Return to bug 966
Collapse All | Expand All

(-)a/src/routing/aodv/aodv-routing-protocol.cc (-1 / +7 lines)
 Lines 318-324    Link Here 
318
  if (result)
318
  if (result)
319
    {
319
    {
320
      NS_LOG_LOGIC ("Add packet " << p->GetUid() << " to queue. Protocol " << (uint16_t) header.GetProtocol ());
320
      NS_LOG_LOGIC ("Add packet " << p->GetUid() << " to queue. Protocol " << (uint16_t) header.GetProtocol ());
321
      SendRequest (header.GetDestination ());
321
      RoutingTableEntry rt;
322
      bool result = m_routingTable.LookupRoute(header.GetDestination (), rt);
323
      if(!result || ((rt.GetFlag() != IN_SEARCH) && result))
324
        {
325
          NS_LOG_LOGIC ("Send RREQ to" <<header.GetDestination ());
326
          SendRequest (header.GetDestination ());
327
        }
322
    }
328
    }
323
}
329
}
324
330

Return to bug 966