diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-08-20 04:50:54 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-08-20 04:50:54 +0800 |
commit | e2d44814a513e7a964797b1e3639343e6682a615 (patch) | |
tree | 8320092e4b9660e45cdfbcd284f6f841e3696b2d /p2p/discover/udp.go | |
parent | bd3a44cac9664ff72584fb123b3348f24c62d066 (diff) | |
parent | 269c5c71072f9e17e6387f853d626bff1160db5c (diff) | |
download | dexon-e2d44814a513e7a964797b1e3639343e6682a615.tar dexon-e2d44814a513e7a964797b1e3639343e6682a615.tar.gz dexon-e2d44814a513e7a964797b1e3639343e6682a615.tar.bz2 dexon-e2d44814a513e7a964797b1e3639343e6682a615.tar.lz dexon-e2d44814a513e7a964797b1e3639343e6682a615.tar.xz dexon-e2d44814a513e7a964797b1e3639343e6682a615.tar.zst dexon-e2d44814a513e7a964797b1e3639343e6682a615.zip |
Merge pull request #1694 from obscuren/hide-fdtrack
fdtrack: hide message
Diffstat (limited to 'p2p/discover/udp.go')
-rw-r--r-- | p2p/discover/udp.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/p2p/discover/udp.go b/p2p/discover/udp.go index 6aefb68f7..afb31ee69 100644 --- a/p2p/discover/udp.go +++ b/p2p/discover/udp.go @@ -26,7 +26,6 @@ import ( "time" "github.com/ethereum/go-ethereum/crypto" - "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/nat" @@ -200,7 +199,6 @@ func ListenUDP(priv *ecdsa.PrivateKey, laddr string, natm nat.Interface, nodeDBP if err != nil { return nil, err } - fdtrack.Open("p2p") conn, err := net.ListenUDP("udp", addr) if err != nil { return nil, err @@ -238,7 +236,6 @@ func newUDP(priv *ecdsa.PrivateKey, c conn, natm nat.Interface, nodeDBPath strin func (t *udp) close() { close(t.closing) - fdtrack.Close("p2p") t.conn.Close() // TODO: wait for the loops to end. } |