diff options
Diffstat (limited to 'posix')
-rw-r--r-- | posix/tst-rfc3484-2.c | 4 | ||||
-rw-r--r-- | posix/tst-rfc3484.c | 1 |
2 files changed, 5 insertions, 0 deletions
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); |