aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-11-13 17:06:28 +0000
committerUlrich Drepper <drepper@redhat.com>2007-11-13 17:06:28 +0000
commitbd63f380d8760a643dfa17d1907692f39e63195e (patch)
tree32749a9c9c8e74e499d9737fdd7fedf26e0ee48e /posix
parent5742e960d5f1ecf9142cdccea002b5c08444fc7c (diff)
downloadglibc-bd63f380d8760a643dfa17d1907692f39e63195e.zip
glibc-bd63f380d8760a643dfa17d1907692f39e63195e.tar.gz
glibc-bd63f380d8760a643dfa17d1907692f39e63195e.tar.bz2
* posix/tst-rfc3484.c: Adjust for addition of prefixlen field.
* posix/tst-rfc3484-2.c: Likewise.
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-rfc3484-2.c4
-rw-r--r--posix/tst-rfc3484.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/posix/tst-rfc3484-2.c b/posix/tst-rfc3484-2.c
index f318523..f9fffd5 100644
--- a/posix/tst-rfc3484-2.c
+++ b/posix/tst-rfc3484-2.c
@@ -99,6 +99,7 @@ do_test (void)
results[0].source_addr_len = sizeof (so1);
results[0].source_addr_flags = 0;
results[0].service_order = 0;
+ results[0].prefixlen = 16;
memcpy (&results[0].source_addr, &so1, sizeof (so1));
results[1].dest_addr = &ai2;
@@ -106,6 +107,7 @@ do_test (void)
results[1].source_addr_len = sizeof (so2);
results[1].source_addr_flags = 0;
results[1].service_order = 1;
+ results[1].prefixlen = 16;
memcpy (&results[1].source_addr, &so2, sizeof (so2));
@@ -125,6 +127,7 @@ do_test (void)
results[1].source_addr_len = sizeof (so1);
results[1].source_addr_flags = 0;
results[1].service_order = 1;
+ results[1].prefixlen = 16;
memcpy (&results[1].source_addr, &so1, sizeof (so1));
results[0].dest_addr = &ai2;
@@ -132,6 +135,7 @@ do_test (void)
results[0].source_addr_len = sizeof (so2);
results[0].source_addr_flags = 0;
results[0].service_order = 0;
+ results[0].prefixlen = 16;
memcpy (&results[0].source_addr, &so2, sizeof (so2));
diff --git a/posix/tst-rfc3484.c b/posix/tst-rfc3484.c
index 08d57a6..477e2b2 100644
--- a/posix/tst-rfc3484.c
+++ b/posix/tst-rfc3484.c
@@ -94,6 +94,7 @@ do_test (void)
results[i].source_addr_len = sizeof (so);
results[i].source_addr_flags = 0;
results[i].service_order = i;
+ results[i].prefixlen = 8;
}
qsort (results, naddrs, sizeof (results[0]), rfc3484_sort);