aboutsummaryrefslogtreecommitdiff
path: root/tests/sys/geom/class/eli/detach_test.sh
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2026-01-31 17:52:53 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2026-01-31 17:52:53 +0000
commit1538284a5fddfce546db678cb873b7edc6adb9ed (patch)
tree08b4045b3280e86854b77678143db12ce9860b1b /tests/sys/geom/class/eli/detach_test.sh
parentf4c40a5acb16e542934ed17ee475183b87420eae (diff)
libc/resolv: Switch default to loopback addressHEADmain
If no resolver configuration was found, we would fall back to INADDR_ANY and IN6ADDR_ANY. This made sense when it was first written thirty or forty years ago but not today, especially since connecting to INADDR_ANY or IN6ADDR_ANY is no longer supported. Switch to the loopback address and simplify the code. Note that (as the pre-existing comment in the code states) running without a resolver configuration is not really supported. Still, if we're going to have a hardcoded fallback, it might as well work. PR: 291790 MFC after: 1 week Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D55011
Diffstat (limited to 'tests/sys/geom/class/eli/detach_test.sh')
0 files changed, 0 insertions, 0 deletions