]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
cmdmon: fix ntp_source_name declaration in request
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 12 May 2020 09:14:46 +0000 (11:14 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 14 May 2020 13:37:38 +0000 (15:37 +0200)
Fixes: 93f6358916ca ("cmdmon: add request to get source name")
candm.h

diff --git a/candm.h b/candm.h
index 9f584472bbaa70f3c52308e95173d0c4fb2437a8..0b28d774715c2435b970842c3ad160604cbbd20d 100644 (file)
--- a/candm.h
+++ b/candm.h
@@ -453,7 +453,7 @@ typedef struct {
     REQ_ReselectDistance reselect_distance;
     REQ_SmoothTime smoothtime;
     REQ_NTPData ntp_data;
-    REQ_NTPData ntp_source_name;
+    REQ_NTPSourceName ntp_source_name;
   } data; /* Command specific parameters */
 
   /* Padding used to prevent traffic amplification.  It only defines the