Only bind 3658 with RPCN

This commit is contained in:
RipleyTom 2020-09-09 20:49:58 +02:00 committed by Megamouse
parent d9d354c981
commit 676fed7cfc
1 changed files with 2 additions and 1 deletions

View File

@ -858,6 +858,7 @@ struct network_thread
WSADATA wsa_data;
WSAStartup(MAKEWORD(2, 2), &wsa_data);
#endif
if (g_cfg.net.psn_status == np_psn_status::rpcn)
list_p2p_ports.emplace(std::piecewise_construct, std::forward_as_tuple(3658), std::forward_as_tuple(3658));
}