From f7aedf7711ee81e4be19dd967a6c06c81872e45b Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Tue, 28 May 2019 16:56:15 +0200 Subject: [PATCH] client bug fix: typo in command line, get returned rx_udpip instead of rx_udpip2, same with mac --- slsDetectorSoftware/src/slsDetectorCommand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/src/slsDetectorCommand.cpp b/slsDetectorSoftware/src/slsDetectorCommand.cpp index 3303439f9..a9e9c9b99 100755 --- a/slsDetectorSoftware/src/slsDetectorCommand.cpp +++ b/slsDetectorSoftware/src/slsDetectorCommand.cpp @@ -2913,7 +2913,7 @@ std::string slsDetectorCommand::cmdNetworkParameter(int narg, const char * const if (action == PUT_ACTION) { myDet->setReceiverUDPIP2(args[1], detPos); } - return myDet->getReceiverUDPIP(detPos); + return myDet->getReceiverUDPIP2(detPos); } else if (cmd == "rx_udpmac") { if (action == PUT_ACTION) { myDet->setReceiverUDPMAC(args[1], detPos); @@ -2923,7 +2923,7 @@ std::string slsDetectorCommand::cmdNetworkParameter(int narg, const char * const if (action == PUT_ACTION) { myDet->setReceiverUDPMAC2(args[1], detPos); } - return myDet->getReceiverUDPMAC(detPos); + return myDet->getReceiverUDPMAC2(detPos); } else if (cmd == "rx_udpport") { if (action == PUT_ACTION) { if (!(sscanf(args[1], "%d", &i))) {