(bug 1404) Bound user input in tutorial third.cc program
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user