Forces local IP to bind address if set
This commit is contained in:
@@ -380,6 +380,9 @@ namespace np
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
bind_ip = conv.s_addr;
|
bind_ip = conv.s_addr;
|
||||||
|
|
||||||
|
if (bind_ip)
|
||||||
|
local_ip_addr = bind_ip;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_cfg.net.upnp_enabled)
|
if (g_cfg.net.upnp_enabled)
|
||||||
|
|||||||
Reference in New Issue
Block a user