(do_test): Adjust for addition of service_order field to sorting structure.
authordrepper <drepper>
Sun, 14 Oct 2007 22:28:54 +0000 (22:28 +0000)
committerdrepper <drepper>
Sun, 14 Oct 2007 22:28:54 +0000 (22:28 +0000)
posix/tst-rfc3484.c

index 352a757..08d57a6 100644 (file)
@@ -93,6 +93,7 @@ do_test (void)
       memcpy(&results[i].source_addr, &so, sizeof (so));
       results[i].source_addr_len = sizeof (so);
       results[i].source_addr_flags = 0;
+      results[i].service_order = i;
     }
 
   qsort (results, naddrs, sizeof (results[0]), rfc3484_sort);