From d40d9d122b6e53702a085b6aa504085a9b576a25 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Tue, 20 Jul 2021 15:05:43 +0200 Subject: [PATCH] replace error --- slsReceiverSoftware/src/ClientInterface.cpp | 6 +++--- slsReceiverSoftware/src/Implementation.cpp | 8 ++++---- slsReceiverSoftware/src/Implementation.h | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/slsReceiverSoftware/src/ClientInterface.cpp b/slsReceiverSoftware/src/ClientInterface.cpp index 620a03026..8f644000e 100644 --- a/slsReceiverSoftware/src/ClientInterface.cpp +++ b/slsReceiverSoftware/src/ClientInterface.cpp @@ -1412,9 +1412,9 @@ sls::MacAddr ClientInterface::setUdpIp(sls::IpAddr arg) { LOG(logERROR) << "Failed to get udp ethernet interface from IP " << arg << ". Got " << eth; } - impl()->setethernetInterface(eth); + impl()->setEthernetInterface(eth); if (myDetectorType == EIGER) { - impl()->setethernetInterface2(eth); + impl()->setEthernetInterface2(eth); } // get mac address auto retval = sls::InterfaceNameToMac(eth); @@ -1446,7 +1446,7 @@ sls::MacAddr ClientInterface::setUdpIp2(sls::IpAddr arg) { LOG(logERROR) << "Failed to get udp ethernet interface2 from IP " << arg << ". Got " << eth; } - impl()->setethernetInterface2(eth); + impl()->setEthernetInterface2(eth); // get mac address auto retval = sls::InterfaceNameToMac(eth); diff --git a/slsReceiverSoftware/src/Implementation.cpp b/slsReceiverSoftware/src/Implementation.cpp index 903c6a66f..daa5c14f3 100644 --- a/slsReceiverSoftware/src/Implementation.cpp +++ b/slsReceiverSoftware/src/Implementation.cpp @@ -939,16 +939,16 @@ void Implementation::setNumberofUDPInterfaces(const int n) { LOG(logINFO) << "Number of Interfaces: " << numUDPInterfaces; } -std::string Implementation::getethernetInterface() const { return eth[0]; } +std::string Implementation::getEthernetInterface() const { return eth[0]; } -void Implementation::setethernetInterface(const std::string &c) { +void Implementation::setEthernetInterface(const std::string &c) { eth[0] = c; LOG(logINFO) << "Ethernet Interface: " << eth[0]; } -std::string Implementation::getethernetInterface2() const { return eth[1]; } +std::string Implementation::getEthernetInterface2() const { return eth[1]; } -void Implementation::setethernetInterface2(const std::string &c) { +void Implementation::setEthernetInterface2(const std::string &c) { eth[1] = c; LOG(logINFO) << "Ethernet Interface 2: " << eth[1]; } diff --git a/slsReceiverSoftware/src/Implementation.h b/slsReceiverSoftware/src/Implementation.h index b9663c530..1a82e1c03 100644 --- a/slsReceiverSoftware/src/Implementation.h +++ b/slsReceiverSoftware/src/Implementation.h @@ -98,11 +98,11 @@ class Implementation : private virtual slsDetectorDefs { int getNumberofUDPInterfaces() const; /* [Jungfrau] */ void setNumberofUDPInterfaces(const int n); - std::string getethernetInterface() const; - void setethernetInterface(const std::string &c); - std::string getethernetInterface2() const; + std::string getEthernetInterface() const; + void setEthernetInterface(const std::string &c); + std::string getEthernetInterface2() const; /* [Jungfrau] */ - void setethernetInterface2(const std::string &c); + void setEthernetInterface2(const std::string &c); uint32_t getUDPPortNumber() const; void setUDPPortNumber(const uint32_t i); uint32_t getUDPPortNumber2() const;