SU_WAN_LAN.diff
b/code/ryzom/server/src/frontend_service/frontend_service.cpp Sun Feb 27 19:35:29 2011 +0100 | ||
---|---|---|
1242 | 1242 |
_ReceiveSub.init( frontendPort, lastAcceptableFrontendPort, _DgramLength, &_History, &_SendSub.clientIdCont() ); |
1243 | 1243 |
frontendPort = _ReceiveSub.dataSock()->localAddr().port(); |
1244 | 1244 |
listenAddr.setPort( frontendPort ); |
1245 |
CLoginServer::setListenAddress( PublishFSHostAsIP.get() ? listenAddr.asIPString() : (listenAddr.hostName() + ":" + NLMISC::toString( listenAddr.port() )) ); // note: asString() returns more information |
|
1245 |
|
|
1246 |
if( ConfigFile.exists ("ListenAddress") ) |
|
1247 |
CLoginServer::setListenAddress( ConfigFile.getVar ("ListenAddress").asString() ); |
|
1248 |
else |
|
1249 |
CLoginServer::setListenAddress( PublishFSHostAsIP.get() ? listenAddr.asIPString() : (listenAddr.hostName() + ":" + NLMISC::toString( listenAddr.port() )) ); // note: asString() returns more information |
|
1250 |
|
|
1246 | 1251 |
CInetAddress::RetrieveNames = false; |
1247 | 1252 |
|
1248 | 1253 |
StalledMode = false; |