aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-07-01 20:19:11 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-07-01 20:21:35 +0800
commitd6f2c0a76f6635ebeb245815c5f686c545ed527d (patch)
tree4de6598a2f8df2086b5b3892f25750757aeeede6 /eth/handler.go
parent1ae80aaf64c5acfde19fee5ee3bc4579db7ea76e (diff)
downloadgo-tangerine-d6f2c0a76f6635ebeb245815c5f686c545ed527d.tar
go-tangerine-d6f2c0a76f6635ebeb245815c5f686c545ed527d.tar.gz
go-tangerine-d6f2c0a76f6635ebeb245815c5f686c545ed527d.tar.bz2
go-tangerine-d6f2c0a76f6635ebeb245815c5f686c545ed527d.tar.lz
go-tangerine-d6f2c0a76f6635ebeb245815c5f686c545ed527d.tar.xz
go-tangerine-d6f2c0a76f6635ebeb245815c5f686c545ed527d.tar.zst
go-tangerine-d6f2c0a76f6635ebeb245815c5f686c545ed527d.zip
eth, eth/downloader: fix #1231, DOS vulnerability in hash queueing
Diffstat (limited to 'eth/handler.go')
-rw-r--r--eth/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler.go b/eth/handler.go
index 86e8a325f..59bbb480b 100644
--- a/eth/handler.go
+++ b/eth/handler.go
@@ -164,7 +164,7 @@ func (pm *ProtocolManager) newPeer(pv, nv int, p *p2p.Peer, rw p2p.MsgReadWriter
// handle is the callback invoked to manage the life cycle of an eth peer. When
// this function terminates, the peer is disconnected.
func (pm *ProtocolManager) handle(p *peer) error {
- glog.V(logger.Debug).Infof("%v: peer connected", p)
+ glog.V(logger.Debug).Infof("%v: peer connected [%s]", p, p.Name())
// Execute the Ethereum handshake
td, head, genesis := pm.chainman.Status()