examples: Correct CLI arg validation in wifi-rate-adaptation-distance.cc
This commit is contained in:
committed by
Tom Henderson
parent
a6d12047a4
commit
4b63c6048b
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user