Skip to content

Commit 19e7bf6

Browse files
committed
merge bitcoin#27863: do not break when addr is not from a distinct network group
1 parent 1adb9a2 commit 19e7bf6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/net.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3303,7 +3303,7 @@ void CConnman::ThreadOpenConnections(const std::vector<std::string> connect, CDe
33033303

33043304
// Require outbound IPv4/IPv6 connections, other than feelers, to be to distinct network groups
33053305
if (!fFeeler && outbound_ipv46_peer_netgroups.count(m_netgroupman.GetGroup(addr))) {
3306-
break;
3306+
continue;
33073307
}
33083308

33093309
// if we selected an invalid address, restart

0 commit comments

Comments
 (0)