From 56fd2541c318d499c8c4b37abf57428417e1cd19 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Wed, 21 Nov 2018 07:13:38 +1030 Subject: [PATCH] doc: make it clearer that specifying addr etc disables autolisten. Reported-by: Greg Sanders Signed-off-by: Rusty Russell --- doc/lightningd-config.5 | 6 +++--- doc/lightningd-config.5.txt | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/lightningd-config.5 b/doc/lightningd-config.5 index 921e0f226..90c197439 100644 --- a/doc/lightningd-config.5 +++ b/doc/lightningd-config.5 @@ -2,12 +2,12 @@ .\" Title: lightningd-config .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.79.1 -.\" Date: 10/12/2018 +.\" Date: 11/21/2018 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "LIGHTNINGD\-CONFIG" "5" "10/12/2018" "\ \&" "\ \&" +.TH "LIGHTNINGD\-CONFIG" "5" "11/21/2018" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -278,7 +278,7 @@ Networking options: .sp Note that for simple setups, the implicit \fIautolisten\fR option does the right thing: it will try to bind to port 9735 on IPv4 and IPv6, and will announce it to peers if it\(cqs seems like a public address\&. .sp -You can instead use \fIaddr\fR to override this (eg\&. to change the port), or precisely control where to bind and what to announce with the \fIbind\-addr\fR and \fIannounce\-addr\fR options\&. +You can instead use \fIaddr\fR to override this (eg\&. to change the port), or precisely control where to bind and what to announce with the \fIbind\-addr\fR and \fIannounce\-addr\fR options\&. These will \fBdisable\fR the \fIautolisten\fR logic, so you must specifiy exactly what you want! .PP \fBaddr\fR=\fI[IPADDRESS[:PORT]]|autotor:TORIPADDRESS[:TORPORT]\fR .RS 4 diff --git a/doc/lightningd-config.5.txt b/doc/lightningd-config.5.txt index 870c20795..c94e31a8e 100644 --- a/doc/lightningd-config.5.txt +++ b/doc/lightningd-config.5.txt @@ -218,7 +218,8 @@ will announce it to peers if it's seems like a public address. You can instead use 'addr' to override this (eg. to change the port), or precisely control where to bind and what to announce with the -'bind-addr' and 'announce-addr' options. +'bind-addr' and 'announce-addr' options. These will *disable* the +'autolisten' logic, so you must specifiy exactly what you want! *addr*='[IPADDRESS[:PORT]]|autotor:TORIPADDRESS[:TORPORT]'::