Changeset 8415


Ignore:
Timestamp:
May 16, 2009, 2:31:18 PM (12 years ago)
Author:
charles
Message:

(trunk libT) BitTorrent? message #9 is for setting the peer's DHT listening port, not their BitTorrent? listening port. (tiennou)

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.h

    r8370 r8415  
    8383    uint8_t                  encryption_preference;
    8484    tr_port                  port;
     85    tr_port                  dht_port;
    8586    tr_address               addr;
    8687    struct tr_peerIo       * io;
  • trunk/libtransmission/peer-msgs.c

    r8233 r8415  
    14301430        case BT_PORT:
    14311431            dbgmsg( msgs, "Got a BT_PORT" );
    1432             tr_peerIoReadUint16( msgs->peer->io, inbuf, &msgs->peer->port );
     1432            tr_peerIoReadUint16( msgs->peer->io, inbuf, &msgs->peer->dht_port );
    14331433            break;
    14341434
Note: See TracChangeset for help on using the changeset viewer.