<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hi,<br>
On 06.09.2017 15:48, Cyril Hrubis wrote:</tt><tt><br>
</tt></div>
<blockquote cite="mid:20170906124801.GE24177@rei.lan" type="cite">
<pre wrap="">Hi!
</pre>
<blockquote type="cite">
<pre wrap="">glibc 2.26 starts rejecting IPv6 addresses which do not comply RFC 2373.
commit 9a0cc8c1bd7645bf3c988890ffb59639c07a5812
Author: Florian Weimer <a class="moz-txt-link-rfc2396E" href="mailto:fweimer@redhat.com"><fweimer@redhat.com></a>
Date: Fri Jun 23 22:51:00 2017 +0200
inet_pton: Reject IPv6 addresses with many leading zeros [BZ #16637]
2001:db8:00001::f is not a valid IPv6 address according to RFC 2373.
See also:
<a class="moz-txt-link-freetext" href="https://sourceware.org/bugzilla/show_bug.cgi?id=16637">https://sourceware.org/bugzilla/show_bug.cgi?id=16637</a>
Signed-off-by: Petr Vorel <a class="moz-txt-link-rfc2396E" href="mailto:pvorel@suse.cz"><pvorel@suse.cz></a>
---
testcases/network/lib6/in6_01.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/testcases/network/lib6/in6_01.c b/testcases/network/lib6/in6_01.c
index f7186b480..3a96ed17d 100644
--- a/testcases/network/lib6/in6_01.c
+++ b/testcases/network/lib6/in6_01.c
@@ -40,8 +40,6 @@ static struct {
{ "::ffff:10.0.0.1", 1 },
{ "::fffe:10.0.0.1", 0 },
{ "::7fff:10.0.0.1", 0 },
- { "0:0:0:0:0:0:ffff:0a001", 0 },
- { "0:0:1:0:0:0:ffff:0a001", 0 },
</pre>
</blockquote>
<pre wrap=""> ^
Shouldn't we just delete this leading zeroes
from the last two lines and be donw with it?</pre>
</blockquote>
<tt><br>
</tt><tt>Agree, we should change the last segments to </tt><tt>'a001'
and keep these test-cases.<br>
</tt><tt><br>
Best regards,<br>
Alexey<br>
<br>
</tt>
</body>
</html>