mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 02:33:24 -03:00
net: report an error if unable to bind on the Tor listening addr:port
This commit is contained in:
parent
9a7e5f4d68
commit
af552534ab
1 changed files with 1 additions and 1 deletions
|
@ -3206,7 +3206,7 @@ bool CConnman::InitBinds(const Options& options)
|
|||
fBound |= Bind(addrBind.m_service, BF_REPORT_ERROR, addrBind.m_flags);
|
||||
}
|
||||
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) {
|
||||
struct in_addr inaddr_any;
|
||||
|
|
Loading…
Add table
Reference in a new issue