Hi,
This very small change related to display issue.
The bug id is 32357 "https://savannah.gnu.org/bugs/index.php?32357"
When we run wget with an ip address alone (wget 10.0.0.1 or wget
http://10.0.0.1/ or wget http://[3ffe:b80:17e2::1])
the display shows as
IPV4
Connecting to 10.0.0.1:80...
IPV6
Connecting to 3ffe:b80:17e2::1:80 (Because of IPV6 format (ff::01) it is
little hard differentiate the ipv6 address and port number)
This patch will show the display
IPV4
Connecting to |10.0.0.1|:80...
IPV6
Connecting to |3ffe:b80:17e2::1|:80
Thanks
Sasi
--- src/connect.c.orig 2012-01-05 14:49:27.511982135 +0530
+++ src/connect.c 2012-01-05 14:26:02.043995746 +0530
@@ -293,7 +293,7 @@
xfree (str);
}
else
- logprintf (LOG_VERBOSE, _("Connecting to %s:%d... "), txt_addr, port);
+ logprintf (LOG_VERBOSE, _("Connecting to |%s|:%d... "), txt_addr,
port);
}
/* Store the sockaddr info to SA. */