mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-21 17:42:37 +02:00
net: report an error if unable to bind on the Tor listening addr:port
This commit is contained in:
parent
9a7e5f4d68
commit
af552534ab
@ -3206,7 +3206,7 @@ bool CConnman::InitBinds(const Options& options)
|
|||||||
fBound |= Bind(addrBind.m_service, BF_REPORT_ERROR, addrBind.m_flags);
|
fBound |= Bind(addrBind.m_service, BF_REPORT_ERROR, addrBind.m_flags);
|
||||||
}
|
}
|
||||||
for (const auto& addr_bind : options.onion_binds) {
|
for (const auto& addr_bind : options.onion_binds) {
|
||||||
fBound |= Bind(addr_bind, BF_DONT_ADVERTISE, NetPermissionFlags::None);
|
fBound |= Bind(addr_bind, BF_REPORT_ERROR | BF_DONT_ADVERTISE, NetPermissionFlags::None);
|
||||||
}
|
}
|
||||||
if (options.bind_on_any) {
|
if (options.bind_on_any) {
|
||||||
struct in_addr inaddr_any;
|
struct in_addr inaddr_any;
|
||||||
|
Loading…
Reference in New Issue
Block a user