]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: add function to get local reference ID
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 30 Mar 2016 09:02:04 +0000 (11:02 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 31 Mar 2016 14:01:02 +0000 (16:01 +0200)
commiteb75ce7d07c6326f7a5633ccb86f5643ade63638
tree2a37337912382ce08c8b92faecfbf2492af6fdee
parent5645e57ce001daa3d63a7678cca306b8edfa005c
ntp: add function to get local reference ID

When a valid NTP reply is received, save the local address (e.g. from
IP_PKTINFO), so the reference ID which would the source use for this
host can be calculated when needed.
ntp_core.c
ntp_core.h
ntp_sources.c
ntp_sources.h