--- Begin Message ---
- To: Aurelien Jarno <aurelien@aurel32.net>
- Cc: libc-alpha@sourceware.org
- Subject: Re: [PATCH] getaddrinfo(): option to not sort IPv4 addresses
- From: Ulrich Drepper <drepper@redhat.com>
- Date: Sat, 18 Aug 2007 08:41:21 -0700
- Message-id: <46C71321.2000303@redhat.com>
- In-reply-to: <20070816212421.GA30105@amd64.aurel32.net>
- References: <20070816212421.GA30105@amd64.aurel32.net>
-----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-----
--- End Message ---