From 419b1a1bf9d019606ea2ffbe5cc0653641d3f0fa Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Thu, 26 Aug 2021 17:57:42 +0200 Subject: [PATCH] eiger src ip fix --- .../eigerDetectorServer/slsDetectorFunctionList.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c b/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c index f5c66aafb..3c94dd281 100644 --- a/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c +++ b/slsDetectorServers/eigerDetectorServer/slsDetectorFunctionList.c @@ -133,7 +133,7 @@ void basictests() { // update default udpdstip and udpdstmac (1g is hardware ip and hardware // mac) - for (int iRxEntry = 0; iRxEntry != numUdpDestinations; ++iRxEntry) { + for (int iRxEntry = 0; iRxEntry != MAX_UDP_DESTINATION; ++iRxEntry) { udpDetails[iRxEntry].srcip = ipadd; udpDetails[iRxEntry].srcmac = macadd; }