From 26fc32f1be9f3b32ad29d123c656152eeb801f39 Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Wed, 25 Jun 2025 15:03:55 +0200 Subject: [PATCH] Fix errorf --- client/firewall/uspfilter/nat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/firewall/uspfilter/nat.go b/client/firewall/uspfilter/nat.go index 4539f7da5..f6e5cfb9c 100644 --- a/client/firewall/uspfilter/nat.go +++ b/client/firewall/uspfilter/nat.go @@ -211,7 +211,7 @@ func (m *Manager) translateOutboundDNAT(packetData []byte, d *decoder) bool { } if err := m.rewritePacketDestination(packetData, d, translatedIP); err != nil { - m.logger.Error("Failed to rewrite packet destination: %v", err) + m.logger.Errorf("Failed to rewrite packet destination: %v", err) return false }