mirror of
https://github.com/transmission/transmission
synced 2024-12-24 16:52:39 +00:00
Don't complain about unexpected DHT packets.
This commit is contained in:
parent
cc44725949
commit
62cb43a173
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue