diff --git a/app/router/router_test.go b/app/router/router_test.go index 09f831b2..53cf5bdc 100644 --- a/app/router/router_test.go +++ b/app/router/router_test.go @@ -177,7 +177,7 @@ func TestIPOnDemand(t *testing.T) { IPv4Enable: true, IPv6Enable: true, FakeEnable: false, - }).Return([]net.IP{{192, 168, 0, 1}}, nil).AnyTimes() + }).Return([]net.IP{{192, 168, 0, 1}}, uint32(600), nil).AnyTimes() r := new(Router) common.Must(r.Init(context.TODO(), config, mockDNS, nil, nil))