examples: wifi-multi-tos prints a message if throughput is zero

otherwise it mysteriously exits with a non-zero error code.
This commit is contained in:
Stefano Avallone
2024-01-31 22:46:12 +01:00
parent 17954bc114
commit c512f3e872

View File

@@ -191,7 +191,7 @@ main(int argc, char* argv[])
}
else
{
NS_LOG_ERROR("Obtained throughput is 0!");
std::cout << "Obtained throughput is 0!" << std::endl;
exit(1);
}