getdata: only emit warning when config include file cannot be read

Not being able to open primary config file will cause fatal error, where as
include files will only warn.  This is useful for setups that want to
publish some of the dhcp lease data, but not all.  Such setup obviously
required dhcpd server to have differnt account than dhcpd-pools, with
carefully managed read permissions.

Requested-by: Björn Lässig <b.laessig@pengutronix.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2024-01-28 16:04:29 +00:00
parent dc1f0b9b76
commit d94654e100
No known key found for this signature in database
GPG key ID: A9553245FDE9B739
3 changed files with 18 additions and 2 deletions

1
THANKS
View file

@ -50,3 +50,4 @@ Brent Swingle
Mathieu Morier
Jean Benoit
Belkacem Daheb
Björn Lässig