mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
add bittyrant to client id's
This commit is contained in:
parent
3dc7c6899f
commit
e5b24d929e
1 changed files with 5 additions and 0 deletions
|
@ -207,6 +207,11 @@ char * tr_clientForId( uint8_t * id )
|
|||
asprintf( &ret, "MLDonkey %c%c%c%c%c",
|
||||
id[3], id[4], id[5], id[6], id[7] );
|
||||
}
|
||||
else if( !memcmp( id, "AZ", 2 ) && !memcmp( &id[6], "BT", 2 ) )
|
||||
{
|
||||
asprintf( &ret, "BitTyrant (%c.%c.%c.%c)",
|
||||
id[2], id[3], id[4], id[5] );
|
||||
}
|
||||
else if( !memcmp( id, "-FG", 3 ) )
|
||||
{
|
||||
asprintf( &ret, "FlashGet %d.%c%c",
|
||||
|
|
Loading…
Reference in a new issue