Commit a66c911a authored by Shane Snyder's avatar Shane Snyder

fix serialization of ssg group config

parent f10e965d
......@@ -39,10 +39,10 @@ typedef uint64_t ssg_member_id_t;
typedef struct ssg_group_config
{
char swim_disabled; /* boolean indicating whether to disable SWIM */
int32_t swim_period_length_ms; /* period length in miliseconds */
int32_t swim_suspect_timeout_periods; /* suspicion timeout in periods */
int32_t swim_subgroup_member_count; /* iping subgroup count */
uint8_t swim_disabled; /* boolean indicating whether to disable SWIM */
int64_t ssg_credential; /* generic credential to be stored with group */
} ssg_group_config_t;
......
......@@ -33,6 +33,7 @@ MERCURY_GEN_STRUCT_PROC(ssg_group_config_t, \
((int32_t) (swim_period_length_ms))
((int32_t) (swim_suspect_timeout_periods))
((int32_t) (swim_subgroup_member_count))
((uint8_t) (swim_disabled))
((int64_t) (ssg_credential)));
MERCURY_GEN_PROC(ssg_group_join_request_t, \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment