更新 'simgear/scene/tsync/terrasync.cxx'
This commit is contained in:
@@ -552,7 +552,10 @@ std::string SGTerraSync::WorkerThread::dnsSelectServerForService(const std::stri
|
|||||||
|
|
||||||
if( naptrRequest->entries.empty() ) {
|
if( naptrRequest->entries.empty() ) {
|
||||||
SG_LOG(SG_TERRASYNC, SG_ALERT, "Warning: no DNS entry found for '" << _dnsdn << "' '" << naptrRequest->qservice << "'" );
|
SG_LOG(SG_TERRASYNC, SG_ALERT, "Warning: no DNS entry found for '" << _dnsdn << "' '" << naptrRequest->qservice << "'" );
|
||||||
return {"https://data.kongjian.xin/fgscenery","https://data.kongjian.xin/osm2city"};
|
|
||||||
|
if (service == "ws20" ) return "https://data.kongjian.xin/fgscenery";
|
||||||
|
if (service == "o2c" ) return "https://data.kongjian.xin/osm2city";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// walk through responses, they are ordered by 1. order and 2. preference
|
// walk through responses, they are ordered by 1. order and 2. preference
|
||||||
|
|||||||
Reference in New Issue
Block a user