mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(trunk libT) #2120: Typo in DHT support: incorrect test when bootstrapping
This commit is contained in:
parent
aadec20d73
commit
49885aae05
1 changed files with 1 additions and 1 deletions
|
@ -1443,7 +1443,7 @@ readBtMessage( tr_peermsgs * msgs, struct evbuffer * inbuf, size_t inlen )
|
|||
case BT_PORT:
|
||||
dbgmsg( msgs, "Got a BT_PORT" );
|
||||
tr_peerIoReadUint16( msgs->peer->io, inbuf, &msgs->peer->dht_port );
|
||||
if( msgs->peer->port > 0 )
|
||||
if( msgs->peer->dht_port > 0 )
|
||||
tr_dhtAddNode( msgs->session, &msgs->peer->addr, msgs->peer->dht_port, 0 );
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue