This commit is contained in:
Alex Stockinger 2022-06-28 18:11:48 +00:00
parent c539a8bf1c
commit e958075525

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