diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-10-21 11:53:29 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2014-10-28 05:42:05 +0100 |
commit | a54db687acc14351613738d93a4e99ceaa2c6759 (patch) | |
tree | 3e81dc50bfb6065bde1628158c6ec5e2fb40c1b6 /ctdb/tcp | |
parent | 69c0c43d55c93b82b2e398d5c61009fd347170bf (diff) | |
download | samba-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.c | 2 |
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; |