[Sheepdog] [PATCH] Make connection information more readable

MORITA Kazutaka morita.kazutaka at gmail.com
Mon Apr 30 22:00:03 CEST 2012


At Sat, 28 Apr 2012 16:07:20 +0800,
Yunkai Zhang wrote:
> 
> From: Yunkai Zhang <qiushu.zyk at taobao.com>
> 
> Add ipstr and port in connection structure, and fill these values
> in create_client(). We can dprintf them when we need to show us where
> the client connection comes from.
> 
> To help us debuging, I dprintf these info in client_rx_handler() and
> destroy_client().
> 
> Signed-off-by: Yunkai Zhang <qiushu.zyk at taobao.com>
> ---
>  include/net.h |    4 ++++
>  sheep/sdnet.c |   21 +++++++++++++++++++++
>  2 files changed, 25 insertions(+), 0 deletions(-)

Applied after fixing coding style, thanks!

Kazutaka



More information about the sheepdog mailing list