mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
Add getright peer id.
This commit is contained in:
parent
208ca81996
commit
1ee1b38c60
1 changed files with 5 additions and 0 deletions
|
@ -221,6 +221,11 @@ char * tr_clientForId( uint8_t * id )
|
|||
asprintf( &ret, "FoxTorrent (%c%c%c%c)",
|
||||
id[3], id[4], id[5], id[6] );
|
||||
}
|
||||
else if( !memcmp( &id[1], "GR", 2 ) )
|
||||
{
|
||||
asprintf( &ret, "GetRight (%c.%c.%c.%c)",
|
||||
id[3], id[4], id[5], id[6] );
|
||||
}
|
||||
|
||||
if( ret )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue