cmdmon: fix ntp_source_name declaration in request

Fixes: 93f6358916 ("cmdmon: add request to get source name")
This commit is contained in:
Miroslav Lichvar 2020-05-12 11:14:46 +02:00
parent 43dc0b3295
commit a0d2513be6

View file

@ -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