-
fd9e956d
by Miroslav Lichvar at 2024-08-06T11:27:13+02:00
test: extend 008-confload test
-
8ba2da52
by Miroslav Lichvar at 2024-08-07T09:46:00+02:00
conf: merge ntp_source_ids with ntp_sources
Keep the configuration IDs of sources loaded from sourcedir in the
NTP_Source structure itself to simplify the code.
-
916ed70c
by Miroslav Lichvar at 2024-08-07T09:48:13+02:00
conf: save source status in sourcedir reload
Save the NSR status when adding a source from a sourcedir and don't
hide sources that failed the addition by clearing their name.
-
d4a4f893
by Miroslav Lichvar at 2024-08-07T09:48:24+02:00
conf: don't repeat error message when adding sourcedir source
When a source from a configured sourcedir cannot be added (e.g. it is a
duplicate of another source), log the error message only on the first
attempt adding the source, until the source is removed and added to a
sourcedir again.
This avoids spamming of the system log with error messages if the
reload sources command is called frequently (e.g. from a DHCP renewal
networking script).