| 651 | } |
| 652 | |
| 653 | const char *announceSentinelAddr(const sentinelAddr *a) { |
| 654 | return sentinel.announce_hostnames ? a->hostname : a->ip; |
| 655 | } |
| 656 | |
| 657 | /* Return an allocated sds with hostname/address:port. IPv6 |
| 658 | * addresses are bracketed the same way anetFormatAddr() does. |
no outgoing calls
no test coverage detected