freebsd-dev/libexec
Colin Percival dc5361ea16 rc.d/netif: Don't DAD if lo0 is the only IPv6 IF
The code in rc.d/netif waiting for IPv6 Duplicate Address Detection if
any network interfaces support IPv6.  Unfortunately, since lo0 *always*
has IPv6 enabled, this means unconditionally sleeping, even on systems
which have no external IPv6 interfaces.

Since we presume that there is little risk of a duplicate address being
assigned on lo0, amend the test to wait only if there is an interface
*other than lo0* which supports IPv6.

Reviewed by:	bz
Differential Revision:	https://reviews.freebsd.org/D40141
2023-05-18 08:20:15 -07:00
..
atf Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
atrun spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
blacklistd-helper
bootpd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
comsat Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
dma dma: install a simple example for the auth.conf file 2023-05-15 09:20:14 +02:00
fingerd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
flua
ftpd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
getty Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
hyperv
mail.local Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
makewhatis.local
mknetid Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
phttpget spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
pppoed spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
rbootd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rc rc.d/netif: Don't DAD if lo0 is the only IPv6 IF 2023-05-18 08:20:15 -07:00
revnetgroup Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rpc.rquotad Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rpc.rstatd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rpc.rusersd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rpc.rwalld Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
rpc.sprayd spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
rtld-elf spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
rtld-elf32
save-entropy spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
smrsh Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
talkd spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tcpd Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
tests
tftp-proxy Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
tftpd spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ulog-helper spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ypxfr Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile Remove portsnap(8) 2023-04-22 18:12:37 -07:00
Makefile.inc