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
9f7b0b81
Commit
9f7b0b81
authored
Jun 27, 2016
by
Jakub Sztandera
Browse files
Fix logging in id.go
parent
c2d5f7bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
p2p/protocol/identify/id.go
View file @
9f7b0b81
...
@@ -365,5 +365,5 @@ func logProtocolMismatchDisconnect(c inet.Conn, protocol, agent string) {
...
@@ -365,5 +365,5 @@ func logProtocolMismatchDisconnect(c inet.Conn, protocol, agent string) {
lm
[
"protocolVersion"
]
=
protocol
lm
[
"protocolVersion"
]
=
protocol
lm
[
"agentVersion"
]
=
agent
lm
[
"agentVersion"
]
=
agent
log
.
Event
(
context
.
TODO
(),
"IdentifyProtocolMismatch"
,
lm
)
log
.
Event
(
context
.
TODO
(),
"IdentifyProtocolMismatch"
,
lm
)
log
.
Debug
(
"IdentifyProtocolMismatch %s %s %s (disconnected)"
,
c
.
RemotePeer
(),
protocol
,
agent
)
log
.
Debug
f
(
"IdentifyProtocolMismatch %s %s %s (disconnected)"
,
c
.
RemotePeer
(),
protocol
,
agent
)
}
}
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