fix: use correct maximum length for TargetName and InitiatorName

Signed-off-by: Peter Lieven <pl@dlhnet.de>
This commit is contained in:
Peter Lieven
2025-03-26 13:28:23 +00:00
parent 90036a167d
commit eb0853e36e
3 changed files with 6 additions and 4 deletions

View File

@@ -44,6 +44,8 @@ struct scsi_iovec;
#define LIBISCSI_FEATURE_ISER (1)
#define MAX_STRING_SIZE (255)
/* RFC 3720 Section 3.2.6.1 */
#define MAX_ISCSI_NAME_SIZE (223)
/*
* Syntax for normal and portal/discovery URLs.