diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-04-24 23:02:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-04-24 23:02:03 +0000 |
commit | bdefc84c58dc5d7b4f9152359a06d5deb55aa146 (patch) | |
tree | 3251fc232dbd2a7791c7ad7e39b74ff2ca19c2ce /posix | |
parent | 4c5bc8287b1eb6c64bd026c869c3973a1c294750 (diff) | |
download | glibc-bdefc84c58dc5d7b4f9152359a06d5deb55aa146.tar glibc-bdefc84c58dc5d7b4f9152359a06d5deb55aa146.tar.gz glibc-bdefc84c58dc5d7b4f9152359a06d5deb55aa146.tar.bz2 glibc-bdefc84c58dc5d7b4f9152359a06d5deb55aa146.zip |
* posix/tst-rfc3484.c (do_test): Also initialize source_addr_flagscvs/fedora-glibc-20060425T0903
field.
* posix/tst-rfc3484-2.c (do_test): Likewise.
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 436ccf1e9c..c25b0c2172 100644 --- a/posix/tst-rfc3484-2.c +++ b/posix/tst-rfc3484-2.c @@ -84,11 +84,13 @@ do_test (void) results[0].dest_addr = &ai1; results[0].got_source_addr = true; results[0].source_addr_len = sizeof (so1); + results[0].source_addr_flags = 0; memcpy (&results[0].source_addr, &so1, sizeof (so1)); results[1].dest_addr = &ai2; results[1].got_source_addr = true; results[1].source_addr_len = sizeof (so2); + results[1].source_addr_flags = 0; memcpy (&results[1].source_addr, &so2, sizeof (so2)); @@ -106,11 +108,13 @@ do_test (void) results[1].dest_addr = &ai1; results[1].got_source_addr = true; results[1].source_addr_len = sizeof (so1); + results[1].source_addr_flags = 0; memcpy (&results[1].source_addr, &so1, sizeof (so1)); results[0].dest_addr = &ai2; results[0].got_source_addr = true; results[0].source_addr_len = sizeof (so2); + results[0].source_addr_flags = 0; memcpy (&results[0].source_addr, &so2, sizeof (so2)); diff --git a/posix/tst-rfc3484.c b/posix/tst-rfc3484.c index 0409a04593..8d273aec84 100644 --- a/posix/tst-rfc3484.c +++ b/posix/tst-rfc3484.c @@ -79,6 +79,7 @@ do_test (void) results[i].got_source_addr = true; memcpy(&results[i].source_addr, &so, sizeof (so)); results[i].source_addr_len = sizeof (so); + results[i].source_addr_flags = 0; } qsort (results, naddrs, sizeof (results[0]), rfc3484_sort); |