Changeset 8555


Ignore:
Timestamp:
May 28, 2009, 1:24:35 PM (12 years ago)
Author:
charles
Message:

(trunk libT) the pre-1.70 builds were using the wrong key for ipv4/ipv6 bind addresses in settings.json

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r8506 r8555  
    450450    tr_bencDictAddBool( d, TR_PREFS_KEY_USPEED_ENABLED,           tr_sessionIsSpeedLimited( s, TR_UP ) );
    451451    tr_bencDictAddInt ( d, TR_PREFS_KEY_UPLOAD_SLOTS_PER_TORRENT, s->uploadSlotsPerTorrent );
    452     tr_bencDictAddStr ( d, TR_DEFAULT_BIND_ADDRESS_IPV4,          tr_ntop_non_ts( &s->public_ipv4->addr ) );
    453     tr_bencDictAddStr ( d, TR_DEFAULT_BIND_ADDRESS_IPV6,          tr_ntop_non_ts( &s->public_ipv6->addr ) );
     452    tr_bencDictAddStr ( d, TR_PREFS_KEY_BIND_ADDRESS_IPV4,        tr_ntop_non_ts( &s->public_ipv4->addr ) );
     453    tr_bencDictAddStr ( d, TR_PREFS_KEY_BIND_ADDRESS_IPV6,        tr_ntop_non_ts( &s->public_ipv6->addr ) );
    454454}
    455455
Note: See TracChangeset for help on using the changeset viewer.