Skip to content

Commit

Permalink
remove unused field permanent from mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed May 5, 2021
1 parent 9254b00 commit 8aecd4d
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 8aecd4d

Please sign in to comment.