From 254dea5ab33170e1c7d7dde19c73b82da35f4e0f Mon Sep 17 00:00:00 2001 From: Sebastian Vater Date: Tue, 19 Aug 2025 16:53:14 +0200 Subject: Added iSCSI handling to main server and network handling code and also creation of basic iSCSI portal and initial iSCSI connection. Finally, implemented iSCSI logout response. --- src/server/net.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server/net.c') diff --git a/src/server/net.c b/src/server/net.c index 629c491..af31f4a 100644 --- a/src/server/net.c +++ b/src/server/net.c @@ -20,6 +20,7 @@ #include "helper.h" #include "image.h" +#include "iscsi.h" #include "uplink.h" #include "locks.h" #include "rpc.h" @@ -178,6 +179,7 @@ void* net_handleNewConnection(void *clientPtr) // Close enough... rpc_sendStatsJson( client->sock, &client->host, &request, ret ); } else { + iscsi_connection_handle( client, &request, ret ); logadd( LOG_DEBUG1, "Magic in client handshake incorrect" ); } goto fail_preadd; -- cgit v1.2.3-55-g7522