socket: restore connected_portal info
this got lost in commit 0d6362f
Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
@@ -366,6 +366,7 @@ iscsi_connect_async(struct iscsi_context *iscsi, const char *portal,
|
|||||||
}
|
}
|
||||||
|
|
||||||
freeaddrinfo(ai);
|
freeaddrinfo(ai);
|
||||||
|
strncpy(iscsi->connected_portal, portal, MAX_STRING_SIZE);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user