make mixed-wireless examples use InternetStackHelper::Reset
This commit is contained in:
@@ -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