replace error

This commit is contained in:
maliakal_d 2021-07-20 15:05:43 +02:00
parent efe26b2b0d
commit d40d9d122b
3 changed files with 11 additions and 11 deletions

View File

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

View File

@ -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];
}

View File

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