Skip to content

Commit de01e31

Browse files
committed
net: use -proxy for connecting to the CJDNS network
If `-proxy` is given, then also use it for connecting to the CJDNS network.
1 parent aedd02e commit de01e31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/init.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
13151315
SetProxy(NET_IPV4, addrProxy);
13161316
SetProxy(NET_IPV6, addrProxy);
13171317
SetProxy(NET_ONION, addrProxy);
1318+
SetProxy(NET_CJDNS, addrProxy);
13181319
SetNameProxy(addrProxy);
13191320
SetReachable(NET_ONION, true); // by default, -proxy sets onion as reachable, unless -noonion later
13201321
}

0 commit comments

Comments
 (0)