freebsd-dev/libexec/rc
Bjoern A. Zeeb 76d32f047a Fix legacy IP autoconfiguration.
It seems my subconcious plan in r345088 to not only prefer IPv6 autoconf
but to also slowly deteriorate legacy IP auto-configuration was uncovered
way too early.

In case IPv6 is a thing yet ipv6_autoconfif was not true, we would not
bring up the interface yet tell the follow-up DHCPv4 configuration in
ifconfig_up() that we did.  So unless you were doing SYNCDHCP or IPv6
you would not get legacy-IP DHCPv4 configuration.

I see multiple problems here: (a) people not yet using IPv6 (obviously a
problem), and (b) the dhclient startup script not running dhclient in
that case despite configured to do so (needs to be investigated seperately).

Reported by:	Pawel Biernacki (pawel.biernacki gmail.com)
Tested by:	Pawel Biernacki
Differential Revision:	https://reviews.freebsd.org/D19488
Pointyhat to:	bz (not sure if it is for breaking or
		for letting them notice it so easily)
2019-03-17 09:31:09 +00:00
..
rc.d Fix still installing ipfilter rc.d files even when WITHOUT_IPFILTER 2019-03-12 19:34:33 +00:00
Makefile
netstart
network.subr Fix legacy IP autoconfiguration. 2019-03-17 09:31:09 +00:00
pccard_ether
rc
rc.conf Extend descriptions and comments about the need to create /etc/pf.conf. 2019-03-12 20:08:37 +00:00
rc.initdiskless rc.initdiskless: fix commentary grammar after r339465 2018-10-20 18:46:36 +00:00
rc.resume rcorder(8): add support for /etc/rc.resume, so it calls "rcorder -k resume" 2018-10-27 17:21:13 +00:00
rc.shutdown
rc.subr rc.subr: Fix typo 2019-01-06 01:39:01 +00:00
rc.suspend