introduce a mtuDiscoverer interface

This commit is contained in:
Marten Seemann 2021-01-31 12:46:52 +08:00
parent 04642c9e4d
commit c6ae91a8cf
2 changed files with 29 additions and 21 deletions

View file

@ -20,7 +20,7 @@ var _ = Describe("MTU Discoverer", func() {
)
var (
d *mtuDiscoverer
d mtuDiscoverer
rttStats *utils.RTTStats
now time.Time
discoveredMTU protocol.ByteCount