From 21f2eb95663cffac9dcce264a5888783e5f04e16 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Fri, 22 Dec 2006 16:20:33 +0000 Subject: [PATCH] added lphant client --- libtransmission/clients.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libtransmission/clients.c b/libtransmission/clients.c index a483e3ad1..610d63b1f 100644 --- a/libtransmission/clients.c +++ b/libtransmission/clients.c @@ -114,6 +114,12 @@ char * tr_clientForId( uint8_t * id ) charToInt( id[3] ) * 10 + charToInt( id[4] ), charToInt( id[5] ) * 10 + charToInt( id[6] ) ); } + else if( !memcmp( &id[1], "LP", 2 ) ) + { + asprintf( &ret, "Lphant %d.%c%c", + charToInt( id[3] ) * 10 + charToInt( id[4] ), + id[5], id[6] ); + } if( ret ) {