]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: support per-source IP family restriction
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 5 Feb 2024 13:06:52 +0000 (14:06 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 7 Feb 2024 09:23:36 +0000 (10:23 +0100)
commitd7c2b1d2f356da16fccc4b069db154764dc0fc4e
tree17afb961c764c66c854209f406d86250cb7c79e6
parente11b518a1ffa704986fb1f1835c425844ba248ef
ntp: support per-source IP family restriction

Add a new parameter to the NSR_AddSourceByName() function to allow
individual sources to be limited to IPv4 or IPv6 addresses. This doesn't
change the options passed to the resolver. It's just an additional
filter in the processing of resolved addresses following the -4/-6
command-line option of chronyd.
cmdmon.c
conf.c
ntp_sources.c
ntp_sources.h
stubs.c
test/unit/ntp_sources.c