aboutsummaryrefslogtreecommitdiff
path: root/build_msvc/libbitcoin_qt
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2021-01-04 18:37:52 +0100
committerVasil Dimov <vd@FreeBSD.org>2021-01-10 15:51:15 +0100
commit94d335da7f8232bc653c9b08b0a33b517b4c98ad (patch)
tree6a41720c136a83ad30c1a8dadde611629cb3f1d0 /build_msvc/libbitcoin_qt
parentbc8ada1c15345d14e324aee68488c8aa8a75cae0 (diff)
net: allow CSubNet of non-IP networks
Allow creation of valid `CSubNet` objects of non-IP networks and only match the single address they were created from (like /32 for IPv4 or /128 for IPv6). This fixes a deficiency in `CConnman::DisconnectNode(const CNetAddr& addr)` and in `BanMan` which assume that creating a subnet from any address using the `CSubNet(CNetAddr)` constructor would later match that address only. Before this change a non-IP subnet would be invalid and would not match any address.
Diffstat (limited to 'build_msvc/libbitcoin_qt')
0 files changed, 0 insertions, 0 deletions