1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

ctdb-protocol: Move definition of CTDB_PORT to protocol

Users of CTDB_PORT will all pick up the new definition.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
This commit is contained in:
Martin Schwenke 2024-07-08 17:58:55 +10:00 committed by Martin Schwenke
parent 67e49d3e54
commit 79c5f451c8
3 changed files with 2 additions and 5 deletions

View File

@ -23,9 +23,6 @@
#include <sys/socket.h>
#include "protocol/protocol.h"
/* define ctdb port number */
#define CTDB_PORT 4379
/* we must align packets to ensure ctdb works on all architectures (eg. sparc) */
#define CTDB_DS_ALIGNMENT 8

View File

@ -22,6 +22,8 @@
#include <tdb.h>
#define CTDB_PORT 4379
#define CTDB_MAGIC 0x43544442 /* CTDB */
#define CTDB_PROTOCOL 1

View File

@ -48,8 +48,6 @@
#include "ipalloc_read_known_ips.h"
#define CTDB_PORT 4379
/* A fake flag that is only supported by some functions */
#define NODE_FLAGS_FAKE_TIMEOUT 0x80000000