enable tcp by default
This commit is contained in:
		
							parent
							
								
									c3934acb30
								
							
						
					
					
						commit
						313f0a70a6
					
				@ -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);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user