summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 51b2e51e09..2ccb7d6a7c 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2889,6 +2889,8 @@ fail:
return false;
}
+#if CLUSTER_SUPPORT
+
static NTSTATUS smbd_register_ips(struct smbd_server_connection *sconn,
struct sockaddr_storage *srv,
struct sockaddr_storage *clnt)
@@ -2910,6 +2912,8 @@ static NTSTATUS smbd_register_ips(struct smbd_server_connection *sconn,
return ctdbd_register_ips(cconn, srv, clnt, release_ip, addr);
}
+#endif
+
/****************************************************************************
Process commands from the client
****************************************************************************/