Drop the redundant type from the masquerade mark declaration

This commit is contained in:
Viktor Liu
2026-08-25 17:08:05 +02:00
parent bcb3740a75
commit 9cfbb49cac

View File

@@ -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
}