NS3 Click Cleanup
Sascha Alexander Jopen <[email protected]>
| Newsgroups | gmane.network.routing.click |
|---|---|
| Message-ID | <[email protected]> |
Hey, this is another small patch for ns3. Click routers were not properly shut down at the end of simulations. Sascha _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
ns3-click-cleanup.patch
(text/x-patch, 353 B)
--- ns-3-dev/src/click/model/ipv4-click-routing.cc 2012-01-20 11:56:48.000000000 +0100
+++ ns-3-dev-patched/src/click/model/ipv4-click-routing.cc 2012-01-20 11:56:10.000000000 +0100
@@ -114,6 +114,7 @@
void
Ipv4ClickRouting::DoDispose ()
{
+ simclick_click_kill (m_simNode);
m_ipv4 = 0;
delete m_simNode;
Ipv4RoutingProtocol::DoDispose ();