must clear the list of routing protocols
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Mon, 23 Mar 2009 14:22:54 +0100
changeset 4282 6fe2d9ef88a9
parent 4281 8827c9df85a3
child 4284 2050b1c0efdd
child 4363 55ccad74d7cc
must clear the list of routing protocols
src/internet-stack/ipv4-l3-protocol.cc
--- a/src/internet-stack/ipv4-l3-protocol.cc	Mon Mar 23 13:03:22 2009 +0100
+++ b/src/internet-stack/ipv4-l3-protocol.cc	Mon Mar 23 14:22:54 2009 +0100
@@ -163,6 +163,7 @@
       interface->Dispose ();
     }
   m_interfaces.clear ();
+  m_routingProtocols.clear ();
   m_node = 0;
   m_staticRouting->Dispose ();
   m_staticRouting = 0;