Ignore:
Timestamp:
May 15, 2010, 1:46:46 PM (12 years ago)
Author:
charles
Message:

(trunk daemon) #3060 "local peer discovery" -- fix bugs reported by Eszet (thanks Eszet :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/daemon.c

    r10635 r10646  
    8686    { 'o', "dht", "Enable distributed hash tables (DHT)", "o", 0, NULL },
    8787    { 'O', "no-dht", "Disable distributed hash tables (DHT)", "O", 0, NULL },
    88     { 'z', "lds", "Enable local peer discovery (LPD)", "z", 0, NULL },
    89     { 'Z', "no-lds", "Disable local peer discovery (LPD)", "Z", 0, NULL },
     88    { 'y', "lpd", "Enable local peer discovery (LPD)", "y", 0, NULL },
     89    { 'Y', "no-lpd", "Disable local peer discovery (LPD)", "Y", 0, NULL },
    9090    { 'P', "peerport", "Port for incoming peers (Default: " TR_DEFAULT_PEER_PORT_STR ")", "P", 1, "<port>" },
    9191    { 'm', "portmap", "Enable portmapping via NAT-PMP or UPnP", "m", 0, NULL },
     
    409409                      tr_bencDictAddBool( &settings, TR_PREFS_KEY_RATIO_ENABLED, FALSE );
    410410                      break;
    411             case 'z': tr_bencDictAddBool( &settings, TR_PREFS_KEY_LPD_ENABLED, TRUE );
    412                       break;
    413             case 'Z': tr_bencDictAddBool( &settings, TR_PREFS_KEY_LPD_ENABLED, FALSE );
     411            case 'y': tr_bencDictAddBool( &settings, TR_PREFS_KEY_LPD_ENABLED, TRUE );
     412                      break;
     413            case 'Y': tr_bencDictAddBool( &settings, TR_PREFS_KEY_LPD_ENABLED, FALSE );
    414414                      break;
    415415            default:  showUsage( );
Note: See TracChangeset for help on using the changeset viewer.