File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -667,6 +667,10 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
667
667
// to protect privacy, do not listen by default if a default proxy server is specified
668
668
if (SoftSetBoolArg (" -listen" , false ))
669
669
LogPrintf (" %s: parameter interaction: -proxy set -> setting -listen=0\n " , __func__);
670
+ // to protect privacy, do not use UPNP when a proxy is set. The user may still specify -listen=1
671
+ // to listen locally, so don't rely on this happening through -listen below.
672
+ if (SoftSetBoolArg (" -upnp" , false ))
673
+ LogPrintf (" %s: parameter interaction: -proxy set -> setting -upnp=0\n " , __func__);
670
674
// to protect privacy, do not discover addresses by default
671
675
if (SoftSetBoolArg (" -discover" , false ))
672
676
LogPrintf (" %s: parameter interaction: -proxy set -> setting -discover=0\n " , __func__);
You can’t perform that action at this time.
0 commit comments