Say autoconf not dhcp
authorkn <kn@openbsd.org>
Tue, 31 Aug 2021 20:18:03 +0000 (20:18 +0000)
committerkn <kn@openbsd.org>
Tue, 31 Aug 2021 20:18:03 +0000 (20:18 +0000)
commit56fed3e1487513083b39ddbf22c80356ca2037a7
tree554130b8a0fc988efc2022de8239af1692ee7468
parent19f35e5c740d454832c5aa136211e706d1220442
Say autoconf not dhcp

Do not abuse "dhcp" to say "DHCP and SLAAC".
unwind.conf(5) does so but unwindctl(8) does not;  in fact, the latter
already has `status autoconf' to
    Show nameservers learned from dhclient(8), dhcpleased(8) or slaacd(8).

Adjust unwind's config manual and internal code accordingly;  still accept
the old keyword but do not document it.

hostname.if(5) already advises for `inet[6] autoconf' instead of `dhcp' and
other related daemons don't abuse the word "dhcp" like unwind does.

Feedback sthen
OK florian
sbin/unwind/parse.y
sbin/unwind/resolver.c
sbin/unwind/unwind.c
sbin/unwind/unwind.conf.5
sbin/unwind/unwind.h