--- a/src/devices/mesh/flame/flame-protocol.cc Fri Jun 19 12:58:35 2009 +0400
+++ b/src/devices/mesh/flame/flame-protocol.cc Fri Jun 19 14:13:35 2009 +0400
@@ -142,7 +142,9 @@
NS_FATAL_ERROR ("FLAME tag is not supposed to be received from upper layers");
}
FlameRtable::LookupResult result = m_rtable->Lookup(destination);
- if(m_lastBroadcast + m_broadcastInterval < Simulator::Now ())
+ if (result.retransmitter == Mac48Address::GetBroadcast ())
+ m_lastBroadcast = Simulator::Now ();
+ if (m_lastBroadcast + m_broadcastInterval < Simulator::Now ())
{
result.retransmitter = Mac48Address::GetBroadcast ();
result.ifIndex = FlameRtable::INTERFACE_ANY;