examples: Correct CLI arg validation in wifi-rate-adaptation-distance.cc

This commit is contained in:
Wojtek Kosior
2024-03-19 12:29:07 -07:00
committed by Tom Henderson
parent a6d12047a4
commit 4b63c6048b

View File

@@ -224,7 +224,7 @@ main(int argc, char* argv[])
int simuTime = steps * stepsTime;
if (standard != "802.11a" && standard != "802.11b" && standard != "802.11g" &&
standard == "802.11n-2.4GHz" && standard != "802.11n-5GHz" && standard != "802.11ac")
standard != "802.11n-2.4GHz" && standard != "802.11n-5GHz" && standard != "802.11ac")
{
NS_FATAL_ERROR("Standard " << standard << " is not supported by this program");
}