incorrect mac address in config file should set error flag and give fail upon calling readconfig file

This commit is contained in:
2018-12-03 12:10:37 +01:00
parent 0869a975e4
commit 03e7a83e74

View File

@ -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