Signed-off-by: Pete Zaitcev <zaitcev@xxxxxxxxxx> --- chunkd/server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chunkd/server.c b/chunkd/server.c index 3115592..d3b593f 100644 --- a/chunkd/server.c +++ b/chunkd/server.c @@ -1408,7 +1408,8 @@ static bool tcp_srv_event(int fd, short events, void *userdata) /* pretty-print incoming cxn info */ getnameinfo((struct sockaddr *) &cli->addr, addrlen, - host, sizeof(host), port, sizeof(port), NI_NUMERICHOST); + host, sizeof(host), port, sizeof(port), + NI_NUMERICHOST | NI_NUMERICSERV); host[sizeof(host) - 1] = 0; port[sizeof(port) - 1] = 0; applog(LOG_INFO, "client host %s port %s connected%s", host, port, -- To unsubscribe from this list: send the line "unsubscribe hail-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html