--- src/connect.c.orig 2012-01-07 09:39:55.965324001 +0530 +++ src/connect.c 2012-01-07 10:54:08.295324000 +0530 @@ -293,7 +293,12 @@ xfree (str); } else - logprintf (LOG_VERBOSE, _("Connecting to %s:%d... "), txt_addr, port); + { + if (ip->family == AF_INET) + logprintf (LOG_VERBOSE, _("Connecting to %s:%d... "), txt_addr, port); + else if (ip->family == AF_INET6) + logprintf (LOG_VERBOSE, _("Connecting to [%s]:%d... "), txt_addr, port); + } } /* Store the sockaddr info to SA. */