Re: [PATCH 2/3] iscsi tools: added ping support

2012-03-06 Thread Mike Christie
On 02/16/2012 02:45 AM, vikas.chaudh...@qlogic.com wrote: From: Vikas Chaudhary vikas.chaudh...@qlogic.com Added ping support for network connection diagnostics. Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com I fixed up some of the output and merged this. I think in the future

Re: [PATCH 2/3] iscsi tools: added ping support

2012-03-06 Thread Mike Christie
On 03/06/2012 05:14 AM, Mike Christie wrote: On 02/16/2012 02:45 AM, vikas.chaudh...@qlogic.com wrote: From: Vikas Chaudhary vikas.chaudh...@qlogic.com Added ping support for network connection diagnostics. Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com I fixed up some of the

Re: [PATCH 2/3] iscsi tools: added ping support

2012-03-05 Thread Mike Christie
On 02/16/2012 02:45 AM, vikas.chaudh...@qlogic.com wrote: + + rc = iface_conf_read(iface); + if (rc) { + log_error(Could not read iface %s (%d)., iface-name, rc); + goto ping_exit; + } + + if (strcmp(iface-bootproto, dhcp) !strstr(iface-ipaddress,

Re: [PATCH 2/3] iscsi tools: added ping support

2012-03-05 Thread Vikas Chaudhary
Subject: Re: [PATCH 2/3] iscsi tools: added ping support On 02/16/2012 02:45 AM, vikas.chaudh...@qlogic.com wrote: + +rc = iface_conf_read(iface); +if (rc) { +log_error(Could not read iface %s (%d)., iface-name, rc); +goto ping_exit; +} + +if (strcmp

[PATCH 2/3] iscsi tools: added ping support

2012-02-16 Thread vikas . chaudhary
From: Vikas Chaudhary vikas.chaudh...@qlogic.com Added ping support for network connection diagnostics. Signed-off-by: Vikas Chaudhary vikas.chaudh...@qlogic.com --- include/iscsi_if.h | 21 +- usr/initiator.h|9 ++ usr/iscsi_ipc.h|4 + usr/iscsiadm.c | 225