don't send path MTU probe packets on a timer (#3423)

This commit is contained in:
Marten Seemann 2022-05-20 12:10:39 +02:00 committed by GitHub
parent de5f08171b
commit 2e98150cd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 2 additions and 39 deletions

View file

@ -51,20 +51,6 @@ func (mr *MockMtuDiscovererMockRecorder) GetPing() *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPing", reflect.TypeOf((*MockMtuDiscoverer)(nil).GetPing))
}
// NextProbeTime mocks base method.
func (m *MockMtuDiscoverer) NextProbeTime() time.Time {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "NextProbeTime")
ret0, _ := ret[0].(time.Time)
return ret0
}
// NextProbeTime indicates an expected call of NextProbeTime.
func (mr *MockMtuDiscovererMockRecorder) NextProbeTime() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NextProbeTime", reflect.TypeOf((*MockMtuDiscoverer)(nil).NextProbeTime))
}
// ShouldSendProbe mocks base method.
func (m *MockMtuDiscoverer) ShouldSendProbe(now time.Time) bool {
m.ctrl.T.Helper()