This commit is contained in:
Erik Frojdh
2019-05-16 11:50:35 +02:00
parent 0d98bd0048
commit 1db1b0307c
2 changed files with 3 additions and 4 deletions

View File

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