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
5d48ff09
Commit
5d48ff09
authored
Jun 27, 2016
by
Jeromy Johnson
Committed by
GitHub
Jun 27, 2016
Browse files
Merge pull request #74 from ipfs/feature/fix-id-log
Fix logging in id.go
parents
c2d5f7bc
9f7b0b81
Changes
1
Hide whitespace changes
Inline
Side-by-side
p2p/protocol/identify/id.go
View file @
5d48ff09
...
...
@@ -365,5 +365,5 @@ func logProtocolMismatchDisconnect(c inet.Conn, protocol, agent string) {
lm
[
"protocolVersion"
]
=
protocol
lm
[
"agentVersion"
]
=
agent
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