From de01e312b333b65b09c8dc72f0cea6295ab8e43f Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Tue, 21 Sep 2021 12:26:51 +0200 Subject: net: use -proxy for connecting to the CJDNS network If `-proxy` is given, then also use it for connecting to the CJDNS network. --- src/init.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/init.cpp') diff --git a/src/init.cpp b/src/init.cpp index e554a18fbf..b5b647e7c1 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1315,6 +1315,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) SetProxy(NET_IPV4, addrProxy); SetProxy(NET_IPV6, addrProxy); SetProxy(NET_ONION, addrProxy); + SetProxy(NET_CJDNS, addrProxy); SetNameProxy(addrProxy); SetReachable(NET_ONION, true); // by default, -proxy sets onion as reachable, unless -noonion later } -- cgit v1.2.3