diff --git a/SRC/echoping.1.in b/SRC/echoping.1.in index 034f8ca..1fde8ac 100644 --- a/SRC/echoping.1.in +++ b/SRC/echoping.1.in @@ -49,7 +49,7 @@ to use it (carefully) to measure Web performances. .SH ARGUMENT .IP hostname[:port] Name (or address) of the server to test. For HTTP, you can specify a -port number. For HTTP and IPv6, you can use RFC 2732 syntax (you will +port number. For HTTP and IPv6, you can use RFC 3986 syntax (you will probably need to escape the brackets from the shell). The name can be an IDN (Unicode domain name). diff --git a/SRC/echoping.c b/SRC/echoping.c index 8916988..b81f616 100644 --- a/SRC/echoping.c +++ b/SRC/echoping.c @@ -593,7 +593,7 @@ main(argc, argv) if (http || icp) { char *text_port = NULL; - if (*server == '[') { /* RFC 2732 */ + if (*server == '[') { /* RFC 3986, section 3.2.2 */ server++; for (p = server; *p && *p != ']'; p++) { } diff --git a/SRC/test-echoping-ipv6 b/SRC/test-echoping-ipv6 index b82738f..0959e32 100755 --- a/SRC/test-echoping-ipv6 +++ b/SRC/test-echoping-ipv6 @@ -10,7 +10,7 @@ echo " echoping's fault: it may be a network problem." ./echoping -6 -h / -v www.afnic.fr -./echoping -6 -v -R -h / "[2001:4f8:0:2::d]:80" # RFC 2732 +./echoping -6 -v -R -h / "[2001:4f8:0:2::d]:80" # RFC 3986, section 3.2.2 # We force the use of IPv6 with -6 because some libc (Solaris) are # smart enough to send only the IPv4 adresses to the application if