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

(-)a/src/internet-stack/arp-cache.cc (+5 lines)
 Lines 232-237   ArpCache::Flush (void) Link Here 
232
      delete (*i).second;
232
      delete (*i).second;
233
    }
233
    }
234
  m_arpCache.erase (m_arpCache.begin (), m_arpCache.end ());
234
  m_arpCache.erase (m_arpCache.begin (), m_arpCache.end ());
235
  if (m_waitReplyTimer.IsRunning ())
236
    {
237
      NS_LOG_LOGIC ("Stopping WaitReplyTimer at " << Simulator::Now ().GetSeconds () << " due to ArpCache flush");
238
      m_waitReplyTimer.Cancel ();
239
    }
235
}
240
}
236
241
237
ArpCache::Entry *
242
ArpCache::Entry *
(-)a/src/internet-stack/arp-l3-protocol.cc (-1 / +1 lines)
 Lines 221-227   ArpL3Protocol::Lookup (Ptr<Packet> packe Link Here 
221
            } 
221
            } 
222
          else if (entry->IsWaitReply ()) 
222
          else if (entry->IsWaitReply ()) 
223
            {
223
            {
224
              NS_FATAL_ERROR ("Test for possibly unreachable code-- please file a bug report if this is ever hit");
224
              NS_FATAL_ERROR ("Test for possibly unreachable code-- please file a bug report, with a test case, if this is ever hit");
225
            }
225
            }
226
        } 
226
        } 
227
      else 
227
      else 

Return to bug 362