Forces local IP to bind address if set

This commit is contained in:
RipleyTom 2023-02-25 10:08:43 +01:00 committed by Megamouse
parent 3388c8ed09
commit 1a00341e6b

View File

@ -380,6 +380,9 @@ namespace np
else
{
bind_ip = conv.s_addr;
if (bind_ip)
local_ip_addr = bind_ip;
}
if (g_cfg.net.upnp_enabled)