aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-08-20 03:46:01 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-08-20 03:46:01 +0800
commit269c5c71072f9e17e6387f853d626bff1160db5c (patch)
tree3a4b1cca074e10495fa1b8f5611a40ad1fba69e8 /Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go
parent382d35bf403ab5dd9b0d2fe3a87c3960902d6e57 (diff)
downloadgo-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar
go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar.gz
go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar.bz2
go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar.lz
go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar.xz
go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.tar.zst
go-tangerine-269c5c71072f9e17e6387f853d626bff1160db5c.zip
Revert "fdtrack: temporary hack for tracking file descriptor usage"
This reverts commit 5c949d3b3ba81ea0563575b19a7b148aeac4bf61.
Diffstat (limited to 'Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go')
-rw-r--r--Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go b/Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go
index b165c784e..8ce4e8342 100644
--- a/Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go
+++ b/Godeps/_workspace/src/github.com/jackpal/go-nat-pmp/natpmp.go
@@ -5,8 +5,6 @@ import (
"log"
"net"
"time"
-
- "github.com/ethereum/go-ethereum/fdtrack"
)
// Implement the NAT-PMP protocol, typically supported by Apple routers and open source
@@ -104,8 +102,6 @@ func (n *Client) rpc(msg []byte, resultSize int) (result []byte, err error) {
if err != nil {
return
}
- fdtrack.Open("natpmp")
- defer fdtrack.Close("natpmp")
defer conn.Close()
result = make([]byte, resultSize)