mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 20:55:07 -05:00
Include both refid and IP address in tracking and sourcestats reports
ref_id is not sufficient for IPv6 addresses and ref_id is needed for reference clocks.
This commit is contained in:
@@ -55,6 +55,7 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
unsigned long ref_id;
|
||||
IPAddr ip_addr;
|
||||
unsigned long stratum;
|
||||
struct timeval ref_time;
|
||||
struct timeval current_correction;
|
||||
@@ -66,6 +67,7 @@ typedef struct {
|
||||
} RPT_TrackingReport;
|
||||
|
||||
typedef struct {
|
||||
unsigned long ref_id;
|
||||
IPAddr ip_addr;
|
||||
unsigned long n_samples;
|
||||
unsigned long n_runs;
|
||||
|
||||
Reference in New Issue
Block a user