Skip to content

Commit 6699506

Browse files
author
Ben Totten
committed
Use setClusterNodeToInboundClusterLink() to add node to link in MEET
Signed-off-by: Ben Totten <[email protected]>
1 parent d50ca8d commit 6699506

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cluster_legacy.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3010,8 +3010,7 @@ int clusterProcessPacket(clusterLink *link) {
30103010
if (hdr->mflags[0] & CLUSTERMSG_FLAG0_EXT_DATA) {
30113011
node->flags |= CLUSTER_NODE_EXTENSIONS_SUPPORTED;
30123012
}
3013-
node->inbound_link = link;
3014-
link->node = node;
3013+
setClusterNodeToInboundClusterLink(node, link);
30153014
clusterAddNode(node);
30163015
clusterDoBeforeSleep(CLUSTER_TODO_SAVE_CONFIG);
30173016
}

0 commit comments

Comments
 (0)