This commit is contained in:
Viktor Liu 2024-10-29 20:47:54 +01:00
parent 0446a036af
commit 9797e31810

View File

@ -92,6 +92,7 @@ func TestNftablesManager_AddNatRule(t *testing.T) {
destExp := generateCIDRMatcherExpressions(false, testCase.InputPair.Destination)
// Combine all expressions in the correct order
// nolint:gocritic
testingExpression := append(conntrackExprs, ifaceExprs...)
testingExpression = append(testingExpression, sourceExp...)
testingExpression = append(testingExpression, destExp...)