From 035fddeb5dc0eecefd711b3be0e0be976c3a93a9 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 5 May 2021 19:52:21 +0700 Subject: [PATCH] remove unused field permanent from mapping --- mapping.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mapping.go b/mapping.go index 33f25f6..1835ed9 100644 --- a/mapping.go +++ b/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