chore: linter: perfsprint

Signed-off-by: Jakob Borg <jakob@kastelo.net>
This commit is contained in:
Jakob Borg
2025-10-23 22:48:54 +02:00
parent c883f49a24
commit 98cf5872e9
9 changed files with 17 additions and 16 deletions
+1 -2
View File
@@ -9,7 +9,6 @@ package pmp
import (
"context"
"errors"
"fmt"
"log/slog"
"net"
"strings"
@@ -90,7 +89,7 @@ type wrapper struct {
}
func (w *wrapper) ID() string {
return fmt.Sprintf("NAT-PMP@%s", w.gatewayIP.String())
return "NAT-PMP@" + w.gatewayIP.String()
}
func (w *wrapper) GetLocalIPv4Address() net.IP {