File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,10 @@ import (
1515
1616 "github.com/anacrolix/generics"
1717 "github.com/anacrolix/log"
18- "github.com/anacrolix/missinggo/v2 "
18+ "github.com/anacrolix/missinggo"
1919 "github.com/anacrolix/sync"
2020 "github.com/anacrolix/torrent/bencode"
2121 "github.com/anacrolix/torrent/iplist"
22- "github.com/anacrolix/torrent/logonce"
2322 "github.com/anacrolix/torrent/metainfo"
2423 "golang.org/x/time/rate"
2524
@@ -354,7 +353,7 @@ func (s *Server) serve() error {
354353 }
355354 expvars .Add ("packets read" , 1 )
356355 if n == len (b ) {
357- logonce . Stderr . Printf ("received dht packet exceeds buffer size" )
356+ expvars . Add ("received dht packet exceeds buffer size" , 1 )
358357 continue
359358 }
360359 if missinggo .AddrPort (addr ) == 0 {
You can’t perform that action at this time.
0 commit comments