about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--posix/tst-rfc3484-2.c4
-rw-r--r--posix/tst-rfc3484.c1
3 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 504027a3ec..1b947a4c8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2007-11-13  Ulrich Drepper  <drepper@redhat.com>
 
+	* posix/tst-rfc3484.c: Adjust for addition of prefixlen field.
+	* posix/tst-rfc3484-2.c: Likewise.
+
 	* include/kernel-features.h: Moved to...
 	* sysdeps/mach/hurd/kernel-features.h: ...here.
 
diff --git a/posix/tst-rfc3484-2.c b/posix/tst-rfc3484-2.c
index f318523ed5..f9fffd5d05 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 08d57a66ee..477e2b220d 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);