doc: fix typo in default port number.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-07-30 13:35:44 +09:30
parent af5b3203b5
commit 488ef67b9b
2 changed files with 4 additions and 4 deletions

View File

@@ -2,12 +2,12 @@
.\" Title: lightning-connect .\" Title: lightning-connect
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\" Date: 03/12/2019 .\" Date: 07/30/2019
.\" Manual: \ \& .\" Manual: \ \&
.\" Source: \ \& .\" Source: \ \&
.\" Language: English .\" Language: English
.\" .\"
.TH "LIGHTNING\-CONNECT" "7" "03/12/2019" "\ \&" "\ \&" .TH "LIGHTNING\-CONNECT" "7" "07/30/2019" "\ \&" "\ \&"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
@@ -40,7 +40,7 @@ The \fBconnect\fR RPC command establishes a new connection with another node in
.sp .sp
\fIhost\fR is the peer\(cqs hostname or IP address\&. \fIhost\fR is the peer\(cqs hostname or IP address\&.
.sp .sp
If not specified, the \fIport\fR defaults to 9375\&. If not specified, the \fIport\fR defaults to 9735\&.
.sp .sp
If \fIhost\fR is not specified, the connection will be attempted to an IP belonging to \fIid\fR obtained through gossip with other already connected peers\&. If \fIhost\fR is not specified, the connection will be attempted to an IP belonging to \fIid\fR obtained through gossip with other already connected peers\&.
.sp .sp

View File

@@ -22,7 +22,7 @@ In this case, the 'host' and 'port' parameters must be omitted.
'host' is the peer's hostname or IP address. 'host' is the peer's hostname or IP address.
If not specified, the 'port' defaults to 9375. If not specified, the 'port' defaults to 9735.
If 'host' is not specified, the If 'host' is not specified, the
connection will be attempted to an IP belonging to connection will be attempted to an IP belonging to