odhcpd: support stderr logging
authorDavid Härdeman <[email protected]>
Wed, 8 Oct 2025 05:44:56 +0000 (07:44 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Sat, 18 Oct 2025 15:40:37 +0000 (17:40 +0200)
commite2ecf7ba6d72a9b66d4a3b59fdabef9885d43949
tree02a96a9ea18aba00ed189ab7b0c8664ff4ecfeae
parent5de3b0d5b509ca7be58b0bdb8dbadc70a5fb898f
odhcpd: support stderr logging

This is just for debugging purposes. Also, make sure that a cmdline loglevel
doesn't get overwritten by what's in the cfg file (it's customary that
command-line options take precedence over configuration file settings).

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/273
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/config.c
src/odhcpd.c
src/odhcpd.h