From 58aa7cd91cda58c14ef4a895b2c7c6111f6c7477 Mon Sep 17 00:00:00 2001 From: Ameya Deshpande Date: Mon, 30 Aug 2021 19:17:57 +0200 Subject: [PATCH] nix-vector-routing: (fixes #448) Fix NMS examples Signed-off-by: Ameya Deshpande --- src/mpi/examples/nms-p2p-nix-distributed.cc | 2 +- src/nix-vector-routing/examples/nms-p2p-nix.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mpi/examples/nms-p2p-nix-distributed.cc b/src/mpi/examples/nms-p2p-nix-distributed.cc index 99f85236a..24063fe9d 100644 --- a/src/mpi/examples/nms-p2p-nix-distributed.cc +++ b/src/mpi/examples/nms-p2p-nix-distributed.cc @@ -283,7 +283,7 @@ main (int argc, char *argv[]) { oss.str (""); oss << 10 + z << ".5." << 10 + i << ".0"; - address.SetBase (oss.str ().c_str (), "255.255.255.255"); + address.SetBase (oss.str ().c_str (), "255.255.255.0"); for (uint32_t j = 0; j < nLANClients; ++j) { Ptr node = CreateObject (z % systemCount); diff --git a/src/nix-vector-routing/examples/nms-p2p-nix.cc b/src/nix-vector-routing/examples/nms-p2p-nix.cc index 247b6ee45..f4ca2f627 100644 --- a/src/nix-vector-routing/examples/nms-p2p-nix.cc +++ b/src/nix-vector-routing/examples/nms-p2p-nix.cc @@ -367,7 +367,7 @@ main (int argc, char *argv[]) if (!useIpv6) { oss << 10 + z << ".5." << 10 + i << ".0"; - addressHelperv4.SetBase (oss.str ().c_str (), "255.255.255.255"); + addressHelperv4.SetBase (oss.str ().c_str (), "255.255.255.0"); } else {