mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-01 18:30:05 +02:00
bugfix udpport mixup for udpport2 in commands
This commit is contained in:
parent
8738700e8a
commit
29c09ab381
@ -2749,9 +2749,9 @@ std::string slsDetectorCommand::cmdNetworkParameter(int narg, char *args[], int
|
||||
if (!(sscanf(args[1], "%d", &i))) {
|
||||
return ("cannot parse argument") + std::string(args[1]);
|
||||
}
|
||||
myDet->setReceiverUDPPort(i, detPos);
|
||||
myDet->setReceiverUDPPort2(i, detPos);
|
||||
}
|
||||
sprintf(ans, "%d", myDet->getReceiverUDPPort(detPos));
|
||||
sprintf(ans, "%d", myDet->getReceiverUDPPort2(detPos));
|
||||
return ans;
|
||||
} else if (cmd == "rx_udpsocksize") {
|
||||
if (action == PUT_ACTION) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user