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
617d7a57
Commit
617d7a57
authored
Jul 28, 2018
by
Abhishek Upperwal
Browse files
Corrected ip6 string
parent
ecf27b59
Changes
1
Show whitespace changes
Inline
Side-by-side
defaults.go
View file @
617d7a57
...
@@ -60,7 +60,7 @@ var DefaultListenAddrs = func(cfg *Config) error {
...
@@ -60,7 +60,7 @@ var DefaultListenAddrs = func(cfg *Config) error {
return
err
return
err
}
}
defaultIP6ListenAddr
,
err
:=
multiaddr
.
NewMultiaddr
(
"/ip6/
0.0.0.0
/tcp/0"
)
defaultIP6ListenAddr
,
err
:=
multiaddr
.
NewMultiaddr
(
"/ip6/
::
/tcp/0"
)
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
}
}
...
...
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