Don't complain about unexpected DHT packets.
This commit is contained in:
parent
cc44725949
commit
62cb43a173
|
@ -592,10 +592,8 @@ tr_dhtCallback(unsigned char *buf, int buflen,
|
|||
|
||||
assert(tr_isSession(ss));
|
||||
|
||||
if(sv != session) {
|
||||
tr_nerr("DHT", "tr_dhtCallback called for unexpected session");
|
||||
if(sv != session)
|
||||
return;
|
||||
}
|
||||
|
||||
rc = dht_periodic( buf, buflen, from, fromlen,
|
||||
&tosleep, callback, NULL);
|
||||
|
|
Loading…
Reference in New Issue