about summary refs log tree commit diff
path: root/inet/tst-inet6_scopeid_pton.c
diff options
context:
space:
mode:
authorBenjamin Cama <b.cama@kerlink.fr>2017-06-22 15:49:28 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-06-22 15:49:28 +0200
commitf768b450204f54b080ea5dc5c2071940604b424c (patch)
tree4a31fc6a3063a746ca92d5e904a9fb112722b019 /inet/tst-inet6_scopeid_pton.c
parent0a47d031e44f15236bcef8aeba80e737bd013c6f (diff)
downloadglibc-f768b450204f54b080ea5dc5c2071940604b424c.tar.gz
glibc-f768b450204f54b080ea5dc5c2071940604b424c.tar.xz
glibc-f768b450204f54b080ea5dc5c2071940604b424c.zip
inet: __inet6_scopeid_pton should accept node-local addresses [BZ #21657]
Diffstat (limited to 'inet/tst-inet6_scopeid_pton.c')
-rw-r--r--inet/tst-inet6_scopeid_pton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/tst-inet6_scopeid_pton.c b/inet/tst-inet6_scopeid_pton.c
index a1bafa9021..8225b3b80a 100644
--- a/inet/tst-inet6_scopeid_pton.c
+++ b/inet/tst-inet6_scopeid_pton.c
@@ -218,9 +218,9 @@ do_test (void)
     {
       expect_success ("fe80::1", interface_name, interface_index);
       expect_success ("ff02::1", interface_name, interface_index);
+      expect_success ("ff01::1", interface_name, interface_index);
       expect_failure ("::", interface_name);
       expect_failure ("::1", interface_name);
-      expect_failure ("ff01::1", interface_name);
       expect_failure ("2001:db8::1", interface_name);
     }