summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/protocol/client/src/client-protocol.c')
-rw-r--r--xlators/protocol/client/src/client-protocol.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xlators/protocol/client/src/client-protocol.c b/xlators/protocol/client/src/client-protocol.c
index 59b2e1d0b..2be00f69b 100644
--- a/xlators/protocol/client/src/client-protocol.c
+++ b/xlators/protocol/client/src/client-protocol.c
@@ -6060,11 +6060,11 @@ protocol_client_handshake (xlator_t *this, transport_t *trans)
char *process_uuid_xl;
options = this->options;
- ret = dict_set_str (options, "version", PACKAGE_VERSION);
+ ret = dict_set_str (options, "protocol-version", GF_PROTOCOL_VERSION);
if (ret < 0) {
gf_log (this->name, GF_LOG_DEBUG,
- "failed to set version(%s) in options dictionary",
- PACKAGE_VERSION);
+ "failed to set protocol version(%s) in handshake msg",
+ GF_PROTOCOL_VERSION);
}
asprintf (&process_uuid_xl, "%s-%s", this->ctx->process_uuid,
@@ -6073,8 +6073,8 @@ protocol_client_handshake (xlator_t *this, transport_t *trans)
process_uuid_xl);
if (ret < 0) {
gf_log (this->name, GF_LOG_DEBUG,
- "failed to set process-uuid(%s) in options dictionary",
- PACKAGE_VERSION);
+ "failed to set process-uuid(%s) in handshake msg",
+ process_uuid_xl);
}
if (this->ctx->cmd_args.volfile_server) {