nss: Use shared prefix in IPv4 address in tst-reload1
authorFlorian Weimer <fweimer@redhat.com>
Fri, 23 Sep 2022 17:30:57 +0000 (19:30 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 23 Sep 2022 17:30:57 +0000 (19:30 +0200)
commitc02e29a0ba47d636281e1a026444a1a0a254aa12
tree68d9bc6375a91814c03b54b7072765ee3ef18f7e
parentfecf481f0f853ec52f54075bbf06f31638298374
nss: Use shared prefix in IPv4 address in tst-reload1

Otherwise, sorting based on the longest-matching prefix in
getaddrinfo can reorder the addresses in ways the test does not
expect, depending on the IPv4 address of the host.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
nss/tst-reload1.c