diff options
author | Sutou Kouhei <kou@clear-code.com> | 2022-09-20 16:09:42 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-20 16:09:42 +0900 |
commit | e40fa6c480b58a8d1699b24193cf67945eaec202 (patch) | |
tree | 0758373a5e3e36173e29bd8fe118d1d95d52c6d1 /ext | |
parent | 9de11fe796e8caca2d87650278028eb95c1e09a0 (diff) |
[DOC] socket: fix wrong sample addresses (#6372)
IPv6 link local address is fe80::/10 not ff80::/10:
https://www.rfc-editor.org/rfc/rfc4291.html
Link-Local unicast 1111111010 FE80::/10 2.5.6
IPv6 (deprecated) site local address is fec0::/10 not ffc0::/10:
https://www.rfc-editor.org/rfc/rfc3513.html
Site-local unicast 1111111011 FEC0::/10 2.5.6
Notes
Notes:
Merged-By: kou <kou@clear-code.com>
Diffstat (limited to 'ext')
-rw-r--r-- | ext/socket/raddrinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/socket/raddrinfo.c b/ext/socket/raddrinfo.c index b914aa6520..a4e1ed37a3 100644 --- a/ext/socket/raddrinfo.c +++ b/ext/socket/raddrinfo.c @@ -2192,7 +2192,7 @@ addrinfo_ipv6_multicast_p(VALUE self) } /* - * Returns true for IPv6 link local address (ff80::/10). + * Returns true for IPv6 link local address (fe80::/10). * It returns false otherwise. */ static VALUE @@ -2204,7 +2204,7 @@ addrinfo_ipv6_linklocal_p(VALUE self) } /* - * Returns true for IPv6 site local address (ffc0::/10). + * Returns true for IPv6 site local address (fec0::/10). * It returns false otherwise. */ static VALUE |