diff --git a/CMakeLists.txt b/CMakeLists.txt index 321da45eb..538fb701b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ if(NOT CMAKE_USE_PTHREADS_INIT) message(FATAL_ERROR "A POSIX threads (pthread) implementation is required, but was not found.") endif() -option(SLS_LOG_MAX_REPORTING_LEVEL "Set the maximum logging level for the project" "sls::TLogLevel::logINFO") +set(SLS_LOG_MAX_REPORTING_LEVEL "Set the maximum logging level for the project" CACHE STRING "sls::TLogLevel::logINFO") option(SLS_USE_SYSTEM_ZMQ "Use system installed libzmq" OFF) diff --git a/slsDetectorServers/matterhonServer/src/VirtualMatterhornServer.cpp b/slsDetectorServers/matterhonServer/src/VirtualMatterhornServer.cpp index 92811d7ec..ade3badef 100644 --- a/slsDetectorServers/matterhonServer/src/VirtualMatterhornServer.cpp +++ b/slsDetectorServers/matterhonServer/src/VirtualMatterhornServer.cpp @@ -6,7 +6,6 @@ VirtualMatterhornServer::VirtualMatterhornServer(uint16_t port) : BaseMatterhornServer(port) { udpDetails[0].srcip = LOCALHOSTIP_INT; - // TODO: when do i set the udp mac and ip ? // should maybe be part of the constructor? tcpInterface->startTCPServer();