From 4733178c3a8f57c54196f176b20154415783dba0 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Tue, 8 Jul 2014 16:46:27 +0100 Subject: [PATCH] messages: MForward: fix compat version A while ago we bumped the head version and reset the compat version to 0. Doing this so happens to make the messenger assume that the message does not support the compat versioning and sets the compat version to the head version -- thus making compat = 2 when it should have been 1. The nasty side-effect of this is that upgrading from emperor to firefly will have emperor-leaders being unable to decode forwarded messages from firefly-peons. Fixes: #8727 Signed-off-by: Joao Eduardo Luis (cherry picked from commit c92feebb81f90344a085f8256f0ed03cdc2f14e1) --- src/messages/MForward.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages/MForward.h b/src/messages/MForward.h index 312819721f534..6a0e2bf71cbc4 100644 --- a/src/messages/MForward.h +++ b/src/messages/MForward.h @@ -31,7 +31,7 @@ struct MForward : public Message { uint64_t con_features; static const int HEAD_VERSION = 2; - static const int COMPAT_VERSION = 0; + static const int COMPAT_VERSION = 1; MForward() : Message(MSG_FORWARD, HEAD_VERSION, COMPAT_VERSION), tid(0), msg(NULL), con_features(0) {} -- 2.39.5