Do log output to stderr while running dhcpd(8) in foreground to make
authormvs <mvs@openbsd.org>
Thu, 5 Oct 2023 18:46:14 +0000 (18:46 +0000)
committermvs <mvs@openbsd.org>
Thu, 5 Oct 2023 18:46:14 +0000 (18:46 +0000)
commit1e4d45b401231e852751a30830cfc1b76f182bb4
treefaf75a09636d662adc4feaf92783ea1fe922aed1
parent7869b2fdaac7e118bfd1783874fe25ce3b8b0f09
Do log output to stderr while running dhcpd(8) in foreground to make
behaviour in accordance with man page. Introduce '-v' option to make
output more verbose.

Do a little refactoring to make code more consistent with other daemons
like ospfd(8), httpd(8), relayd(8), etc.

Feedback from bluhm benno

ok bluhm
usr.sbin/dhcpd/dhcpd.8
usr.sbin/dhcpd/dhcpd.c