Fix dht Server Ping call

This commit is contained in:
Matt Joiner 2021-03-11 11:32:31 +11:00
parent 693c30dd88
commit 151387d1b0
1 changed files with 1 additions and 1 deletions

2
dht.go
View File

@ -51,7 +51,7 @@ func (me anacrolixDhtServerWrapper) Announce(hash [20]byte, port int, impliedPor
}
func (me anacrolixDhtServerWrapper) Ping(addr *net.UDPAddr) {
me.Server.Ping(addr, nil)
me.Server.Ping(addr)
}
var _ DhtServer = anacrolixDhtServerWrapper{}