This commit is contained in:
Alex Stockinger
2022-09-27 04:31:00 +09:00
committed by GitHub
4 changed files with 15 additions and 9 deletions

View File

@@ -1086,7 +1086,7 @@ func TestRoutes(t *testing.T) {
},
},
} {
routes, rules := tc.topology.Routes(DefaultKiloInterface, kiloIface, privIface, tunlIface, tc.local, encapsulation.NewIPIP(tc.strategy))
routes, rules := tc.topology.Routes(DefaultKiloInterface, kiloIface, privIface, tunlIface, tc.local, encapsulation.NewIPIP(tc.strategy, true))
if diff := pretty.Compare(routes, tc.routes); diff != "" {
t.Errorf("test case %q: got diff: %v", tc.name, diff)
}