Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
8faf5403
Commit
8faf5403
authored
6 years ago
by
vyzo
Browse files
Options
Download
Email Patches
Plain Diff
fix typo
parent
8d108ddd
master
fix/473
punching
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
options.go
+1
-1
options.go
with
1 addition
and
1 deletion
+1
-1
options.go
View file @
8faf5403
...
...
@@ -264,7 +264,7 @@ func Ping(enable bool) Option {
func
Routing
(
rt
config
.
RoutingC
)
Option
{
return
func
(
cfg
*
Config
)
error
{
if
cfg
.
Routing
!=
nil
{
return
fmt
.
Errorf
(
"cannot specif
ied
multiple routing options"
)
return
fmt
.
Errorf
(
"cannot specif
y
multiple routing options"
)
}
cfg
.
Routing
=
rt
return
nil
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help