]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: avoid recursive update of address
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 9 Feb 2021 15:06:36 +0000 (16:06 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 11 Feb 2021 08:52:57 +0000 (09:52 +0100)
commit2e52aca3bf99b316fe78e6ac17d14838c3e8c86a
tree58f51e3fe42e4cad1e4b38860fb70d222e2099eb
parentb0fc5832f4bac39e879495a7e2f8c0268fb83cdb
ntp: avoid recursive update of address

Allow NSR_UpdateSourceNtpAddress() to be (indirectly) called from
NCR_CreateInstance() and NCR_ChangeRemoteAddress(). In these cases, save
the addresses and make the update later when the function calls return.
ntp_sources.c
ntp_sources.h