From: Adheer Chandravanshi <adheer.chandravan...@qlogic.com> Add support to set the chap_out_idx session param of flashnode entry.
Signed-off-by: Adheer Chandravanshi <adheer.chandravan...@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudh...@qlogic.com> --- usr/flashnode.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/usr/flashnode.c b/usr/flashnode.c index da1392a..fe5ab57 100644 --- a/usr/flashnode.c +++ b/usr/flashnode.c @@ -449,6 +449,12 @@ int flashnode_build_config(struct list_head *params, fnode->sess.portal_type, sizeof(fnode->sess.portal_type))) count++; + } else if (!strcmp(param->name, + to_key(FLASHNODE_SESS_CHAP_OUT_IDX))) { + if (!flashnode_fill_uint32(fnode, &iov[count], + ISCSI_FLASHNODE_CHAP_OUT_IDX, + fnode->sess.chap_out_idx)) + count++; } else if (!strcmp(param->name, to_key(FLASHNODE_CONN_PORT))) { if (fnode->conn[0].port) port = fnode->conn[0].port; -- 1.7.1 -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to open-iscsi+unsubscr...@googlegroups.com. To post to this group, send email to open-iscsi@googlegroups.com. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/groups/opt_out.