Changeset 7178


Ignore:
Timestamp:
Nov 29, 2008, 5:19:06 PM (12 years ago)
Author:
charles
Message:

(1.4x rpc) #1488: peer port missing in json rpc interface

Location:
branches/1.4x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4x/doc/rpc-spec.txt

    r6920 r7178  
    205205                          | peerIsChoked            | 'boolean'  | tr_peer_stat
    206206                          | peerIsInterested        | 'boolean'  | tr_peer_stat
     207                          | port                    | number     | tr_peer_stat
    207208                          | progress                | 'double'   | tr_peer_stat
    208209                          | rateToClient (B/s)      | number     | tr_peer_stat
  • branches/1.4x/libtransmission/rpcimpl.c

    r7069 r7178  
    251251        tr_bencDictAddInt( d, "peerIsChoked", peer->peerIsChoked );
    252252        tr_bencDictAddInt( d, "peerIsInterested", peer->peerIsInterested );
     253        tr_bencDictAddInt( d, "port", peer->port );
    253254        tr_bencDictAddDouble( d, "progress", peer->progress );
    254255        tr_bencDictAddInt( d, "rateToClient",
Note: See TracChangeset for help on using the changeset viewer.