diff options
author | Adheer Chandravanshi <adheer.chandravanshi@qlogic.com> | 2015-12-08 06:23:33 +0530 |
---|---|---|
committer | Mike Christie <mchristi@redhat.com> | 2015-12-28 14:04:22 -0600 |
commit | 1592a5239c1fea6a9fdbd4427fb357ce54ebb49a (patch) | |
tree | 5e66d5091042054eb699de033e814415c47dec6b /usr/iscsiadm.c | |
parent | 1e692d5a31e0ae9741e040367a7bac50c19c71c6 (diff) | |
download | open-iscsi-1592a5239c1fea6a9fdbd4427fb357ce54ebb49a.tar.gz |
iscsiadm: let ping be tried after iface config is initialized
The ping should be tried after the iface config is initialized by iscsiuio
Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com>
Diffstat (limited to 'usr/iscsiadm.c')
-rw-r--r-- | usr/iscsiadm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c index 7a01480..c6705bd 100644 --- a/usr/iscsiadm.c +++ b/usr/iscsiadm.c @@ -3199,7 +3199,7 @@ static int exec_ping_op(struct iface_rec *iface, char *ip, int size, int count, } rc = iscsi_set_net_config(t, NULL, iface); - if (rc) + if (rc && (rc != ISCSI_ERR_AGAIN)) goto ping_err; rc = t->template->exec_ping(t, iface, size, &addr, |