diff -r e15adc7172f1 src/routing/aodv/aodv-routing-protocol.cc --- a/src/routing/aodv/aodv-routing-protocol.cc Sat Jul 24 18:19:58 2010 +0200 +++ b/src/routing/aodv/aodv-routing-protocol.cc Tue Jul 27 07:13:18 2010 +0400 @@ -318,7 +318,13 @@ if (result) { NS_LOG_LOGIC ("Add packet " << p->GetUid() << " to queue. Protocol " << (uint16_t) header.GetProtocol ()); - SendRequest (header.GetDestination ()); + RoutingTableEntry rt; + bool result = m_routingTable.LookupRoute(header.GetDestination (), rt); + if(!result || ((rt.GetFlag() != IN_SEARCH) && result)) + { + NS_LOG_LOGIC ("Send RREQ to" <