fix binding of outgoing interface, when configured
This commit is contained in:
parent
96695fa714
commit
f508a433a4
|
@ -1,3 +1,4 @@
|
||||||
|
* fix binding sockets to outgoing interface
|
||||||
* add new socks5_alert to trouble shoot SOCKS5 proxies
|
* add new socks5_alert to trouble shoot SOCKS5 proxies
|
||||||
|
|
||||||
1.2.3 release
|
1.2.3 release
|
||||||
|
|
|
@ -5035,6 +5035,7 @@ namespace aux {
|
||||||
bind_ep.address(bind_socket_to_device(m_io_service, s
|
bind_ep.address(bind_socket_to_device(m_io_service, s
|
||||||
, remote_address.is_v4() ? tcp::v4() : tcp::v6()
|
, remote_address.is_v4() ? tcp::v4() : tcp::v6()
|
||||||
, ifname.c_str(), bind_ep.port(), ec));
|
, ifname.c_str(), bind_ep.port(), ec));
|
||||||
|
s.bind(bind_ep, ec);
|
||||||
return bind_ep;
|
return bind_ep;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue