diff --git a/examples/tutorial/third.cc b/examples/tutorial/third.cc index 29b2671ae..1a6b09180 100644 --- a/examples/tutorial/third.cc +++ b/examples/tutorial/third.cc @@ -52,6 +52,13 @@ main (int argc, char *argv[]) cmd.Parse (argc,argv); + if (nWifi > 18) + { + std::cout << "Number of wifi nodes " << nWifi << + " specified exceeds the mobility bounding box" << std::endl; + exit (1); + } + if (verbose) { LogComponentEnable ("UdpEchoClientApplication", LOG_LEVEL_INFO);