make mixed-wireless examples use InternetStackHelper::Reset
This commit is contained in:
1 parent
f66a9b42b2
commit
804ddc729e
2 files changed
+3
-1
No files matched your search
@@ -164,7 +164,7 @@ main (int argc, char *argv[])
|
||||
internet.Install (backbone);
|
||||
|
||||
// re-initialize for non-olsr routing.
|
||||
internet = InternetStackHelper ();
|
||||
internet.Reset ();
|
||||
|
||||
//
|
||||
// Assign IPv4 addresses to the device drivers (actually to the associated
|
||||
|
||||
@@ -130,6 +130,8 @@ def main(argv):
|
||||
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.
|
||||
|
||||
Reference in new issue
Block a user