From c0026c4411646412ae3cda080f398349f9ef58dc Mon Sep 17 00:00:00 2001 From: Zachary Boyd Date: Wed, 9 May 2018 22:09:31 -0700 Subject: [PATCH] Removes the default values on socksPort and instances --- bin/tor-router | 4 ++-- src/default_config.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/tor-router b/bin/tor-router index 62d2f02..1335e65 100755 --- a/bin/tor-router +++ b/bin/tor-router @@ -32,13 +32,13 @@ let argv_config = require('yargs') }, j: { alias: 'instances', - describe: 'Number of instances using the default config [default: 1]', + describe: 'Number of instances using the default config', demand: false // ,default: 1 }, s: { alias: 'socksPort', - describe: 'Port the SOCKS5 Proxy server will bind to [default: 9050]', + describe: 'Port the SOCKS5 Proxy server will bind to', demand: false, // ,default: 9050 }, diff --git a/src/default_config.js b/src/default_config.js index 3712fc2..b612515 100644 --- a/src/default_config.js +++ b/src/default_config.js @@ -4,7 +4,7 @@ temp.track(); module.exports = { "controlPort": 9077, "parentDataDirectory": temp.mkdirSync(), - "socksPort": 9050, + "socksPort": null, "dnsPort": null, "httpPort": null, "logLevel": "info", @@ -13,7 +13,7 @@ module.exports = { "Log": "notice stdout", "NewCircuitPeriod": "10" }, - "instances": 1, + "instances": null, "dns": { "options": {}, "timeout": null