openflow: Align Callback usage with signature in CommandLine class

This commit is contained in:
Tom Henderson
2023-03-12 21:45:57 -07:00
parent a7bdcafed9
commit 38b33903ba

View File

@@ -51,21 +51,21 @@ bool use_drop = false;
ns3::Time timeout = ns3::Seconds(0);
bool
SetVerbose(std::string value)
SetVerbose(const std::string& value)
{
verbose = true;
return true;
}
bool
SetDrop(std::string value)
SetDrop(const std::string& value)
{
use_drop = true;
return true;
}
bool
SetTimeout(std::string value)
SetTimeout(const std::string& value)
{
try
{