From 313f0a70a6873e516e213673659dd8841795cd3a Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 14 Dec 2017 20:28:13 -0700 Subject: [PATCH] enable tcp by default --- bin/digd.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bin/digd.js b/bin/digd.js index 21f0bfb..f8df004 100755 --- a/bin/digd.js +++ b/bin/digd.js @@ -67,12 +67,6 @@ cli.main(function (args, cli) { } }); - if (!cli.tcp) { - if (!cli.notcp) { - console.info("[WARNING] Set '+notcp' to disable tcp connections. The default behavior changes to +tcp in v1.3"); - } - } - if (cli.mdns) { if (!cli.type) { cli.type = cli.t = 'PTR'; @@ -406,7 +400,7 @@ cli.main(function (args, cli) { } } }); - if (cli.tcp /* TODO v1.3 !cli.notcp */) { + if (!cli.notcp) { require('../lib/tcpd.js').create(cli, dnsd); }