fix test, check port position for detector type
Build on RHEL9 docker image / build (push) Successful in 3m37s
Build on RHEL8 docker image / build (push) Successful in 4m52s
Run Simulator Tests on local RHEL9 / build (push) Successful in 16m3s
Run Simulator Tests on local RHEL8 / build (push) Successful in 19m38s

This commit is contained in:
2026-05-08 11:08:09 +02:00
parent 07c92ec97f
commit 895439b01b
@@ -1683,6 +1683,9 @@ int ClientInterface::set_port_udp_datastream(Interface &socket) {
portPosition port = static_cast<portPosition>(args[0]);
validate_port_position(port);
bool enable = static_cast<bool>(args[1]);
if (impl()->getNumberofUDPInterfaces() == 1)
throw RuntimeError("Cannot change UDP port datastream with only 1 "
"interface enabled. Hint: set 'numinterfaces' to 2");
LOG(logDEBUG1) << "Setting udp datastream (" << ToString(port) << ") to "
<< ToString(enable);
verifyIdle(socket);