diff --git a/p2p/net/nat/mapping.go b/p2p/net/nat/mapping.go index 33f25f615f..1835ed9a77 100644 --- a/p2p/net/nat/mapping.go +++ b/p2p/net/nat/mapping.go @@ -38,12 +38,11 @@ type Mapping interface { type mapping struct { sync.Mutex // guards all fields - nat *NAT - proto string - intport int - extport int - permanent bool - proc goprocess.Process + nat *NAT + proto string + intport int + extport int + proc goprocess.Process cached net.IP cacheTime time.Time