diff options
| author | Michael Brown | 2006-12-08 16:53:49 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-12-08 16:53:49 +0100 |
| commit | 9aa3e10d7c8dc6c71ed22d3ea236e71c3ad7e9f9 (patch) | |
| tree | f0b9c933019096bec2d9c8ec35c19ad4b47cbe13 /src/tests/iscsiboot.c | |
| parent | Also request root-path. (diff) | |
| download | ipxe-9aa3e10d7c8dc6c71ed22d3ea236e71c3ad7e9f9.tar.gz ipxe-9aa3e10d7c8dc6c71ed22d3ea236e71c3ad7e9f9.tar.xz ipxe-9aa3e10d7c8dc6c71ed22d3ea236e71c3ad7e9f9.zip | |
Use root-path option (as per RFC 4173) rather than filename option to
determine iSCSI boot parameters.
Diffstat (limited to 'src/tests/iscsiboot.c')
| -rw-r--r-- | src/tests/iscsiboot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/iscsiboot.c b/src/tests/iscsiboot.c index 2152016fb..f751eb460 100644 --- a/src/tests/iscsiboot.c +++ b/src/tests/iscsiboot.c @@ -13,6 +13,7 @@ static struct iscsi_device test_iscsidev; int test_iscsiboot ( const char *initiator_iqn, struct sockaddr_tcpip *target, const char *target_iqn, + unsigned int lun, const char *username, const char *password, struct net_device *netdev, @@ -25,6 +26,7 @@ int test_iscsiboot ( const char *initiator_iqn, sizeof ( test_iscsidev.iscsi.tcp.peer ) ); test_iscsidev.iscsi.initiator = initiator_iqn; test_iscsidev.iscsi.target = target_iqn; + test_iscsidev.iscsi.lun = lun; test_iscsidev.iscsi.username = username; test_iscsidev.iscsi.password = password; |
