diff --git a/src/mpi/examples/nms-p2p-nix-distributed.cc b/src/mpi/examples/nms-p2p-nix-distributed.cc index d5f5f9e6d..4a16c05e6 100644 --- a/src/mpi/examples/nms-p2p-nix-distributed.cc +++ b/src/mpi/examples/nms-p2p-nix-distributed.cc @@ -149,7 +149,7 @@ main (int argc, char *argv[]) if (nix) { Ipv4NixVectorHelper nixRouting; - stack.SetRoutingHelper (list); // has effect on the next Install () + stack.SetRoutingHelper (nixRouting); // has effect on the next Install () } // Create Campus Networks diff --git a/src/mpi/examples/simple-distributed-empty-node.cc b/src/mpi/examples/simple-distributed-empty-node.cc index 778364cd5..1643b93b9 100644 --- a/src/mpi/examples/simple-distributed-empty-node.cc +++ b/src/mpi/examples/simple-distributed-empty-node.cc @@ -186,7 +186,7 @@ main (int argc, char *argv[]) if (nix) { Ipv4NixVectorHelper nixRouting; - stack.SetRoutingHelper (list); // has effect on the next Install () + stack.SetRoutingHelper (nixRouting); // has effect on the next Install () } stack.InstallAll (); diff --git a/src/mpi/examples/simple-distributed.cc b/src/mpi/examples/simple-distributed.cc index 761a6b054..20fee962f 100644 --- a/src/mpi/examples/simple-distributed.cc +++ b/src/mpi/examples/simple-distributed.cc @@ -162,7 +162,7 @@ main (int argc, char *argv[]) if (nix) { Ipv4NixVectorHelper nixRouting; - stack.SetRoutingHelper (list); // has effect on the next Install () + stack.SetRoutingHelper (nixRouting); // has effect on the next Install () } stack.InstallAll ();