]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: fix adding noselect to selection options
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Aug 2023 12:52:01 +0000 (14:52 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Aug 2023 12:58:48 +0000 (14:58 +0200)
commit7bc7d002975152b8e95f07567a922a0e528e8042
treed5b22260fd23cb67f1ee775cbe2647b300dfb1ca
parentb5cf861cd72e58c3555cdc2a65822a0fdccc26c7
ntp: fix adding noselect to selection options

If noselect is present in the configured options, don't assume it
cannot change and the effective options are equal. This fixes chronyc
selectopts +noselect command.

Fixes: 38777348143e ("sources: add function to modify selection options")
sources.c
test/simulation/110-chronyc