diff --git a/src/cluster.c b/src/cluster.c index 60e99df04..51c1b52d9 100644 --- a/src/cluster.c +++ b/src/cluster.c @@ -332,6 +332,8 @@ clusterNode *createClusterNode(char *nodename, int flags) { node->configdigest = NULL; node->configdigest_ts = 0; node->link = NULL; + node->ip[0] = '\0'; + node->port = 0; return node; }