--- a/examples/mixed-wireless.cc Sat Oct 03 15:21:52 2009 -0700
+++ b/examples/mixed-wireless.cc Sat Oct 03 15:22:37 2009 -0700
@@ -164,7 +164,7 @@
internet.Install (backbone);
// re-initialize for non-olsr routing.
- internet = InternetStackHelper ();
+ internet.Reset ();
//
// Assign IPv4 addresses to the device drivers (actually to the associated
--- a/examples/mixed-wireless.py Sat Oct 03 15:21:52 2009 -0700
+++ b/examples/mixed-wireless.py Sat Oct 03 15:22:37 2009 -0700
@@ -130,6 +130,8 @@
olsr = ns3.OlsrHelper()
internet.SetRoutingHelper(olsr);
internet.Install(backbone);
+ # re-initialize for non-olsr routing.
+ internet.Reset()
#
# Assign IPv4 addresses to the device drivers(actually to the associated
# IPv4 interfaces) we just created.