From 465176b7e2fc1370dded850a80a8fe8519e79db8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 18 Dec 2008 15:02:42 +0100 Subject: s3:cluster: register the client connection via CTDB_CONTROL_TCP_ADD This means we correctly pass IPv6 addresses too. (CTDB_CONTROL_TCP_CLIENT was IPv4 only) metze --- source3/include/ctdbd_conn.h | 4 ++-- source3/include/proto.h | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/include') diff --git a/source3/include/ctdbd_conn.h b/source3/include/ctdbd_conn.h index 39f50c2cfc..44c35168a8 100644 --- a/source3/include/ctdbd_conn.h +++ b/source3/include/ctdbd_conn.h @@ -57,8 +57,8 @@ NTSTATUS ctdbd_traverse(uint32 db_id, void *private_data); NTSTATUS ctdbd_register_ips(struct ctdbd_connection *conn, - const struct sockaddr_in *server, - const struct sockaddr_in *client, + const struct sockaddr *server, + const struct sockaddr *client, void (*release_ip_handler)(const char *ip_addr, void *private_data), void *private_data); diff --git a/source3/include/proto.h b/source3/include/proto.h index b874beb30b..7c00d7b110 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -7690,7 +7690,6 @@ void init_sec_ctx(void); int smbd_server_fd(void); int get_client_fd(void); -int client_get_tcp_info(struct sockaddr_in *server, struct sockaddr_in *client); struct event_context *smbd_event_context(void); struct messaging_context *smbd_messaging_context(void); struct memcache *smbd_memcache(void); -- cgit