Skip to content

Commit

Permalink
Update comments in cluster_legacy.h
Browse files Browse the repository at this point in the history
Update comment suggesting clusterMsgPingExtTypes to clusterMsgPingtypes as clusterMsgPingExtTypes does not exist. Additionally specify that ver is set to CLUSTER_PROTO_VER, not "1", to make it easier to see where to change this.

Signed-off-by: Ben Totten <btotten@amazon.com>
  • Loading branch information
bentotten authored and Ben Totten committed Apr 11, 2024
1 parent 6eedb6d commit ce1dcb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster_legacy.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ union clusterMsgData {
typedef struct {
char sig[4]; /* Signature "RCmb" (Cluster message bus). */
uint32_t totlen; /* Total length of this message */
uint16_t ver; /* Protocol version, currently set to 1. */
uint16_t ver; /* Protocol version, currently set to CLUSTER_PROTO_VER. */
uint16_t port; /* Primary port number (TCP or TLS). */
uint16_t type; /* Message type */
uint16_t count; /* Only used for some kind of messages. */
Expand Down

0 comments on commit ce1dcb7

Please sign in to comment.