Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

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 committed May 5, 2021
2 parents ab0e3ae + 035fdde commit d3a3bd8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions 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 d3a3bd8

Please sign in to comment.