]> 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)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 3 Feb 2022 15:22:04 +0000 (16:22 +0100)
commitd8302ba2da1e5ac59a1c4dc1c1207a10fdafdb08
tree029dd4c218a5837e58ecbe58c8247c52fd3fd971
parentad615b59c78d6d37fee921fb2b2ae6b72c930625
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.

(cherry picked from commit 1d3decee997ba2fc24af81803299b2f4f3c47063)
sysdeps/mach/hurd/if_index.c