Add sysctl opts to prevent reverse path filtering from dropping fwmark packets (#1839)

This commit is contained in:
Viktor Liu
2024-04-12 17:53:07 +02:00
committed by GitHub
parent d30cf8706a
commit 5ea24ba56e
2 changed files with 115 additions and 18 deletions

View File

@ -61,7 +61,7 @@ func TestAddRemoveRoutes(t *testing.T) {
err = wgInterface.Create()
require.NoError(t, err, "should create testing wireguard interface")
_, _, err = setupRouting(nil, nil)
_, _, err = setupRouting(nil, wgInterface)
require.NoError(t, err)
t.Cleanup(func() {
assert.NoError(t, cleanupRouting())