mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 21:11:03 +03:00
Cannot immediately overwrite the peer address when we parse
TargetAddress from the login response, because we still need the old address while we close the connection!
This commit is contained in:
@@ -504,9 +504,15 @@ struct iscsi_session {
|
||||
int retry_count;
|
||||
|
||||
/** Initiator IQN */
|
||||
const char *initiator;
|
||||
const char *initiator_iqn;
|
||||
/** Target address
|
||||
*
|
||||
* Kept separate from the TCP connection structure because we
|
||||
* may need to handle login redirection.
|
||||
*/
|
||||
struct sockaddr_tcpip target;
|
||||
/** Target IQN */
|
||||
const char *target;
|
||||
const char *target_iqn;
|
||||
/** Logical Unit Number (LUN) */
|
||||
uint64_t lun;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user