mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 04:47:14 +02:00
merge conflict and binaries in
This commit is contained in:
Binary file not shown.
@ -263,7 +263,7 @@ u_int64_t getDetectorMAC() {
|
||||
}
|
||||
|
||||
u_int32_t getDetectorIP() {
|
||||
char temp[50] = "";
|
||||
char temp[INET_ADDRSTRLEN] = "";
|
||||
u_int32_t res = 0;
|
||||
// execute and get address
|
||||
char output[255];
|
||||
@ -303,7 +303,7 @@ void initControlServer() {
|
||||
LOG(logINFOBLUE, ("Configuring Control server\n"));
|
||||
if (!updateFlag && initError == OK) {
|
||||
#ifndef VIRTUAL
|
||||
int detid = getModuleIdInFile(&initError, initErrorMessage, ID_FILE);
|
||||
int modid = getModuleIdInFile(&initError, initErrorMessage, ID_FILE);
|
||||
#else
|
||||
getModuleIdInFile(&initError, initErrorMessage, ID_FILE);
|
||||
#endif
|
||||
@ -342,7 +342,7 @@ void initControlServer() {
|
||||
LOG(logDEBUG1, ("Control server: FEB Initialization done\n"));
|
||||
Beb_SetTopVariable(top);
|
||||
Beb_Beb();
|
||||
Beb_SetModuleId(detid);
|
||||
Beb_SetModuleId(modid);
|
||||
LOG(logDEBUG1, ("Control server: BEB Initialization done\n"));
|
||||
#endif
|
||||
// also reads config file and deactivates
|
||||
@ -1531,10 +1531,10 @@ int configureMAC() {
|
||||
int dstport = udpDetails[iRxEntry].dstport;
|
||||
int dstport2 = udpDetails[iRxEntry].dstport2;
|
||||
|
||||
char src_mac[50], src_ip[INET_ADDRSTRLEN], dst_mac[50],
|
||||
dst_ip[INET_ADDRSTRLEN];
|
||||
getMacAddressinString(src_mac, 50, srcmac);
|
||||
getMacAddressinString(dst_mac, 50, dstmac);
|
||||
char src_mac[MAC_ADDRESS_SIZE], src_ip[INET_ADDRSTRLEN],
|
||||
dst_mac[MAC_ADDRESS_SIZE], dst_ip[INET_ADDRSTRLEN];
|
||||
getMacAddressinString(src_mac, MAC_ADDRESS_SIZE, srcmac);
|
||||
getMacAddressinString(dst_mac, MAC_ADDRESS_SIZE, dstmac);
|
||||
getIpAddressinString(src_ip, srcip);
|
||||
getIpAddressinString(dst_ip, dstip);
|
||||
|
||||
|
Reference in New Issue
Block a user