summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-29 23:13:34 +0200
committerVolker Lendecke <vl@samba.org>2010-08-29 23:14:49 +0200
commitf687d43454cfc3bd293adfbb942358794c780b56 (patch)
tree8cc187b4abcb1484b54e0546b29c01c390340ba5 /source3/smbd
parente466bb4af45175a3fe1d6dff54c10d81c4e68257 (diff)
downloadsamba-f687d43454cfc3bd293adfbb942358794c780b56.tar.gz
samba-f687d43454cfc3bd293adfbb942358794c780b56.tar.bz2
samba-f687d43454cfc3bd293adfbb942358794c780b56.zip
s3: Fix the build without cluster
Diffstat (limited to 'source3/smbd')
-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
****************************************************************************/