diff --git a/slsDetectorSoftware/gotthardDetector/gotthardDetector.cpp b/slsDetectorSoftware/gotthardDetector/gotthardDetector.cpp index d13d5a712..08cb2b0a2 100644 --- a/slsDetectorSoftware/gotthardDetector/gotthardDetector.cpp +++ b/slsDetectorSoftware/gotthardDetector/gotthardDetector.cpp @@ -73,54 +73,6 @@ int gotthardDetector::readConfigurationFile(string const fname){ #endif } - - /* - //---------------mac address---------- - getline(infile,str); - iline++; -#ifdef VERBOSE - std::cout<< str << std::endl; -#endif - istringstream sstr(str); - sstr >> sargname >> sargname2; -#ifdef VERBOSE - std::cout<< sargname << " is " << sargname2 << std::endl; -#endif - //getting rid of dots - pos = sargname2.find(":"); - while(pos != string::npos) - { - sargname2.erase( pos, 1 ); - pos = sargname2.find(":"); - } - strcpy(thisDetector->clientMacAddress,sargname2.c_str()); - //sprintf(thisDetector->clientMacAddress,"%0llX",atoll(sargname2.c_str())); - cout<<"macaddress:"<clientMacAddress<> sargname >> sargname2; -#ifdef VERBOSE - std::cout<< sargname << " is " << sargname2 << std::endl; -#endif - //getting rid of dots - pos = sargname2.find("."); - while(pos != string::npos) - { - sargname2.erase( pos, 1 ); - pos = sargname2.find("."); - } - strcpy(thisDetector->clientIPAddress,sargname2.c_str()); - cout<<"ipaddress:"<clientIPAddress<