This commit is contained in:
Erik Frojdh
2019-05-16 11:43:12 +02:00
parent 54983c5fd0
commit 0d98bd0048
2 changed files with 4 additions and 3 deletions

View File

@ -29,9 +29,10 @@ slsReceiverTCPIPInterface::~slsReceiverTCPIPInterface() {
}
slsReceiverTCPIPInterface::slsReceiverTCPIPInterface(int pn):
myDetectorType(GOTTHARD),
portNumber(pn > 0 ? pn : DEFAULT_PORTNO + 2)
myDetectorType(GOTTHARD)
{
portNumber = pn > 0 ? pn : DEFAULT_PORTNO + 2;
function_table();
}