enable tcp by default

This commit is contained in:
AJ ONeal 2017-12-14 20:28:13 -07:00
parent c3934acb30
commit 313f0a70a6
1 changed files with 1 additions and 7 deletions

View File

@ -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);
}