diff --git a/src/cluster_legacy.c b/src/cluster_legacy.c index 27587b5d1b..661f15ca25 100644 --- a/src/cluster_legacy.c +++ b/src/cluster_legacy.c @@ -4023,8 +4023,10 @@ void clusterSendPing(clusterLink *link, int type) { clusterMsg *hdr = &msgblock->msg; if (!link->inbound) { - if (type == CLUSTERMSG_TYPE_PING) link->node->ping_sent = mstime(); - else if (type == CLUSTERMSG_TYPE_MEET) link->node->meet_sent = mstime(); + if (type == CLUSTERMSG_TYPE_PING) + link->node->ping_sent = mstime(); + else if (type == CLUSTERMSG_TYPE_MEET) + link->node->meet_sent = mstime(); } /* Populate the gossip fields */