Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
5834054a
Commit
5834054a
authored
Sep 28, 2018
by
vyzo
Browse files
fix typo
parent
0600392e
Changes
1
Hide whitespace changes
Inline
Side-by-side
options.go
View file @
5834054a
...
...
@@ -257,7 +257,7 @@ func NATManager(nm config.NATManagerC) Option {
// This will both clear any configured listen addrs and prevent libp2p from
// applying the default listen address option. It also disables relay, unless the
// user explicitly specifies with an option, as the transport creates an implicit
// listen address that would make the node diable through any relay it was connected to.
// listen address that would make the node dia
la
ble through any relay it was connected to.
var
NoListenAddrs
=
func
(
cfg
*
Config
)
error
{
cfg
.
ListenAddrs
=
[]
ma
.
Multiaddr
{}
if
!
cfg
.
RelayCustom
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment