aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/server.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-08-20 04:50:54 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-08-20 04:50:54 +0800
commite2d44814a513e7a964797b1e3639343e6682a615 (patch)
tree8320092e4b9660e45cdfbcd284f6f841e3696b2d /p2p/server.go
parentbd3a44cac9664ff72584fb123b3348f24c62d066 (diff)
parent269c5c71072f9e17e6387f853d626bff1160db5c (diff)
downloaddexon-e2d44814a513e7a964797b1e3639343e6682a615.tar.gz
dexon-e2d44814a513e7a964797b1e3639343e6682a615.tar.zst
dexon-e2d44814a513e7a964797b1e3639343e6682a615.zip
Merge pull request #1694 from obscuren/hide-fdtrack
fdtrack: hide message
Diffstat (limited to 'p2p/server.go')
-rw-r--r--p2p/server.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/p2p/server.go b/p2p/server.go
index d8be85323..6060adc71 100644
--- a/p2p/server.go
+++ b/p2p/server.go
@@ -25,7 +25,6 @@ import (
"sync"
"time"
- "github.com/ethereum/go-ethereum/fdtrack"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/logger/glog"
"github.com/ethereum/go-ethereum/p2p/discover"
@@ -373,7 +372,7 @@ func (srv *Server) startListening() error {
}
laddr := listener.Addr().(*net.TCPAddr)
srv.ListenAddr = laddr.String()
- srv.listener = fdtrack.WrapListener("p2p", listener)
+ srv.listener = listener
srv.loopWG.Add(1)
go srv.listenLoop()
// Map the TCP listening port if NAT is configured.