summaryrefslogtreecommitdiff
path: root/ctdb/tcp
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-10-21 11:53:29 +1100
committerAmitay Isaacs <amitay@samba.org>2014-10-28 05:42:05 +0100
commita54db687acc14351613738d93a4e99ceaa2c6759 (patch)
tree3e81dc50bfb6065bde1628158c6ec5e2fb40c1b6 /ctdb/tcp
parent69c0c43d55c93b82b2e398d5c61009fd347170bf (diff)
downloadsamba-a54db687acc14351613738d93a4e99ceaa2c6759.tar.gz
ctdb: Rename CTDB_VERSION to CTDB_PROTOCOL
CTDB_VERSION really is the ctdb protocol version. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb/tcp')
-rw-r--r--ctdb/tcp/tcp_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tcp/tcp_io.c b/ctdb/tcp/tcp_io.c
index 5111195b178..a951320a07d 100644
--- a/ctdb/tcp/tcp_io.c
+++ b/ctdb/tcp/tcp_io.c
@@ -63,7 +63,7 @@ void ctdb_tcp_read_cb(uint8_t *data, size_t cnt, void *args)
goto failed;
}
- if (hdr->ctdb_version != CTDB_VERSION) {
+ if (hdr->ctdb_version != CTDB_PROTOCOL) {
DEBUG(DEBUG_ALERT, (__location__ " Bad CTDB version 0x%x rejected\n",
hdr->ctdb_version));
goto failed;