[PATCH] getaddrinfo(): option to not sort IPv4 addresses
Ulrich Drepper
drepper@redhat.com
Sat Aug 18 15:41:00 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Aurelien Jarno wrote:
> In Debian we have added a new option to /etc/gai.conf (disabled by
> default) to ignore this rule for IPv4 addresses. Please find the patch
> below in case you are also unhappy about this behaviour.
No freaking way! The reason we have that sorting is to get consistency.
I won't add such an option to disturb it. Not to sort is completely,
utterly wrong since the order in which addresses are returned from the
service are more or less random.
- --
â§ Ulrich Drepper â§ Red Hat, Inc. â§ 444 Castro St â§ Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFGxxMh2ijCOnn/RHQRAgujAKCuIDfhu7Qq1oR/wZNGhsI99mD+ewCeNNpS
p7rzjjU7ByHl0bjQ2u/p05M=
=MJ4r
-----END PGP SIGNATURE-----
More information about the Libc-alpha
mailing list