minor comment
Some checks failed
Build on RHEL8 / build (push) Failing after 1m9s
Build on RHEL9 / build (push) Successful in 2m49s

This commit is contained in:
2025-07-03 12:09:39 +02:00
parent 396ef0a298
commit 1caf88858b

View File

@ -150,10 +150,11 @@ int GetDeprecatedCommandLineOptions(int argc, char *argv[], uint16_t &startPort,
if (argc == 3 || argc == 4) { if (argc == 3 || argc == 4) {
startPort = sls::StringTo<uint16_t>(argv[1]); startPort = sls::StringTo<uint16_t>(argv[1]);
numReceivers = sls::StringTo<uint16_t>(argv[2]); numReceivers = sls::StringTo<uint16_t>(argv[2]);
if (numReceivers > 1024) { if (numReceivers > 100) {
LOG(sls::logWARNING) << deprecatedMessage; LOG(sls::logWARNING) << deprecatedMessage;
LOG(sls::logERROR) LOG(sls::logERROR)
<< "Did you mix up the order of the arguments?"; << "Did you mix up the order of the arguments? Max "
"number of recievers: 100";
return slsDetectorDefs::FAIL; return slsDetectorDefs::FAIL;
} }
if (numReceivers == 0) { if (numReceivers == 0) {