Skip to content

Commit

Permalink
Merge pull request #33 from libp2p/fix-staticcheck
Browse files Browse the repository at this point in the history
remove unused field permanent from mapping
  • Loading branch information
marten-seemann authored May 5, 2021
2 parents 9254b00 + 8aecd4d commit 15ffec9
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions p2p/net/nat/mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15ffec9

Please sign in to comment.