1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-02 04:22:44 +00:00

add Net Transport to clients list

This commit is contained in:
Mitchell Livingston 2008-02-13 13:38:15 +00:00
parent b353ae4b43
commit aaf8fdf45e

View file

@ -250,6 +250,12 @@ char * tr_clientForId( const uint8_t * id )
tr_asprintf( &ret, "Wyzo %c.%c.%c.%c",
id[3], id[4], id[5], id[6] );
}
else if( !memcmp( &id[1], "NX", 2 ) )
{
tr_asprintf( &ret, "Net Transport %d.%c.%c",
charToInt( id[3] ) * 10 + charToInt( id[4] ),
id[5], id[6] );
}
else if( !memcmp( &id[1], "LW", 2 ) )
{
tr_asprintf( &ret, "LimeWire" );