Merge pull request #12044 from jmlee337/upnpport
Do not try portmapping when using traversal server
This commit is contained in:
commit
8a96ce73f6
|
@ -169,7 +169,7 @@ NetPlayServer::NetPlayServer(const u16 port, const bool forward_port, NetPlayUI*
|
||||||
m_chunked_data_thread = std::thread(&NetPlayServer::ChunkedDataThreadFunc, this);
|
m_chunked_data_thread = std::thread(&NetPlayServer::ChunkedDataThreadFunc, this);
|
||||||
|
|
||||||
#ifdef USE_UPNP
|
#ifdef USE_UPNP
|
||||||
if (forward_port)
|
if (forward_port && !traversal_config.use_traversal)
|
||||||
Common::UPnP::TryPortmapping(port);
|
Common::UPnP::TryPortmapping(port);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue