]> git.ipfire.org Git - thirdparty/glibc.git/commit
hurd if_index: Explicitly use AF_INET for if index discovery
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 17 Oct 2021 23:39:02 +0000 (01:39 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 17 Oct 2021 23:39:02 +0000 (01:39 +0200)
commit1d3decee997ba2fc24af81803299b2f4f3c47063
tree4e12ff7b35d24739f573446db60050c54072d3aa
parent1d20f33ff4fb634310f27493b7b87d0b20f4a0b0
hurd if_index: Explicitly use AF_INET for if index discovery

5bf07e1b3a74 ("Linux: Simplify __opensock and fix race condition [BZ #28353]")
made __opensock try NETLINK then UNIX then INET. On the Hurd, only INET
knows about network interfaces, so better actually specify that in
if_index.
sysdeps/mach/hurd/if_index.c