mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
rx_hostname command line bug: should not setreceiveronline if connecting to a new receiver without clearing shm
This commit is contained in:
parent
8cdfe4194f
commit
3ef8b392db
@ -2891,7 +2891,10 @@ std::string slsDetectorCommand::cmdNetworkParameter(int narg, const char * const
|
||||
return helpNetworkParameter(action);
|
||||
|
||||
myDet->setOnline(ONLINE_FLAG, detPos);
|
||||
myDet->setReceiverOnline(ONLINE_FLAG, detPos);
|
||||
|
||||
// when changing hostnames, dont connect to previous one
|
||||
if (cmd != "rx_hostname")
|
||||
myDet->setReceiverOnline(ONLINE_FLAG, detPos);
|
||||
|
||||
if (cmd == "detectormac") {
|
||||
if (action == PUT_ACTION) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user