Home
last modified time | relevance | path

Searched refs:slaveip (Results 1 – 2 of 2) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dreplication.c2092 char ip[NET_IP_STR_LEN], *slaveip = slave->slave_ip; in roleCommand() local
2094 if (slaveip[0] == '\0') { in roleCommand()
2097 slaveip = ip; in roleCommand()
2101 addReplyBulkCString(c,slaveip); in roleCommand()
H A Dserver.c3568 char ip[NET_IP_STR_LEN], *slaveip = slave->slave_ip; in genRedisInfoString() local
3572 if (slaveip[0] == '\0') { in genRedisInfoString()
3575 slaveip = ip; in genRedisInfoString()
3596 slaveid,slaveip,slave->slave_listening_port,state, in genRedisInfoString()