diff --git a/slsDetectorSoftware/slsDetector/slsDetector.cpp b/slsDetectorSoftware/slsDetector/slsDetector.cpp index 1277a3788..18800cfb5 100644 --- a/slsDetectorSoftware/slsDetector/slsDetector.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetector.cpp @@ -5732,8 +5732,10 @@ int slsDetector::setUDPConnection() { std::cout << "could not configure mac" << endl; } } - }else + }else { ret=FAIL; + setErrorMask((getErrorMask())|(COULD_NOT_CONFIGURE_MAC)); + } #ifdef VERBOSE printReceiverConfiguration(); #endif