p2p/nat: fix tests

This commit is contained in:
Felix Lange 2018-10-04 14:40:45 +02:00
parent 05f55dc0af
commit 02bdb55fdf

View file

@ -28,7 +28,7 @@ import (
func TestAutoDiscRace(t *testing.T) {
ad := startautodisc("thing", func() Interface {
time.Sleep(500 * time.Millisecond)
return extIP{33, 44, 55, 66}
return ExtIP{33, 44, 55, 66}
})
// Spawn a few concurrent calls to ad.ExternalIP.