Skip to content

Commit

Permalink
Update comment in cluster_legacy.h (#277)
Browse files Browse the repository at this point in the history
Update comment suggesting clusterMsgPingExtTypes to clusterMsgPingtypes
as clusterMsgPingExtTypes does not exist

Signed-off-by: Ben Totten <btotten@amazon.com>
  • Loading branch information
bentotten authored Apr 11, 2024
1 parent f0113a4 commit 6975242
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cluster_legacy.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ typedef struct {

typedef struct {
uint32_t length; /* Total length of this extension message (including this header) */
uint16_t type; /* Type of this extension message (see clusterMsgPingExtTypes) */
uint16_t type; /* Type of this extension message (see clusterMsgPingtypes) */
uint16_t unused; /* 16 bits of padding to make this structure 8 byte aligned. */
union {
clusterMsgPingExtHostname hostname;
Expand Down 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 6975242

Please sign in to comment.