Miroslav Lichvar
145423068b
ntp: change NSR_RemoveSource() to accept IP address only
...
Change the function to accept IP address alone to make it clear that the
port is ignored.
2020-05-21 12:42:18 +02:00
Miroslav Lichvar
fb4c3f31c0
ntp: refactor slot finding
...
Change the find_slot() function to not match port and return the found
status directly. Add a separate function for matching both address and
port.
2020-05-21 12:42:18 +02:00
Miroslav Lichvar
e8bc41e862
test: fix tests to skip when missing required feature
2018-09-27 11:42:38 +02:00
Miroslav Lichvar
778fce4039
main: don't require root privileges with -Q option
...
If the -Q option is specified, disable by default pidfile, ntpport,
cmdport, Unix domain command socket, and clock control, in order to
allow starting chronyd without root privileges and/or when another
chronyd instance is already running.
2017-07-13 16:10:54 +02:00
Miroslav Lichvar
d3a30142e5
test: fix DEBUG_LOG use in unit tests
...
This was missing in commit f282856c72
.
2017-03-13 12:04:26 +01:00
Miroslav Lichvar
2a51b45a43
test: fix memory leaks in unit tests
2017-01-27 10:55:28 +01:00
Miroslav Lichvar
80f4d75968
test/unit: follow chrony function naming convention
2016-02-15 16:09:05 +01:00
Miroslav Lichvar
910663c37b
test: add ntp_sources unit test
2016-02-05 15:20:40 +01:00