From 9cfbb49cac7d277c9bf4dc522759cf053b837196 Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Tue, 25 Aug 2026 17:08:05 +0200 Subject: [PATCH] Drop the redundant type from the masquerade mark declaration --- client/firewall/nftables/router_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/firewall/nftables/router_linux.go b/client/firewall/nftables/router_linux.go index d3e031c5f..c79f9b8c2 100644 --- a/client/firewall/nftables/router_linux.go +++ b/client/firewall/nftables/router_linux.go @@ -763,7 +763,7 @@ func (r *router) addNatRule(pair firewall.RouterPair) error { exprs = append(exprs, sourceExp...) exprs = append(exprs, destExp...) - var markValue uint32 = nbnet.PreroutingFwmarkMasquerade + markValue := nbnet.PreroutingFwmarkMasquerade if pair.Inverse { markValue = nbnet.PreroutingFwmarkMasqueradeReturn }