mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
p2p: fix build
This commit is contained in:
parent
6ffd98d337
commit
276253326d
1 changed files with 1 additions and 1 deletions
|
|
@ -912,7 +912,7 @@ func (srv *Server) listenLoop() {
|
||||||
slots <- struct{}{}
|
slots <- struct{}{}
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if remoteIP != nil {
|
if remoteIP.IsValid() {
|
||||||
fd = newMeteredConn(fd)
|
fd = newMeteredConn(fd)
|
||||||
serveMeter.Mark(1)
|
serveMeter.Mark(1)
|
||||||
srv.log.Trace("Accepted connection", "addr", fd.RemoteAddr())
|
srv.log.Trace("Accepted connection", "addr", fd.RemoteAddr())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue