mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 15:15:06 -05:00
Add prefer and noselect options
This commit is contained in:
3
client.c
3
client.c
@@ -934,6 +934,9 @@ process_cmd_add_server_or_peer(CMD_Request *msg, char *line)
|
||||
if (data.params.min_stratum) {
|
||||
fprintf(stderr, "Option minstratum not supported\n");
|
||||
break;
|
||||
} else if (data.params.sel_option != SRC_SelectNormal) {
|
||||
fprintf(stderr, "Options noselect and prefer not supported\n");
|
||||
break;
|
||||
}
|
||||
|
||||
msg->data.ntp_source.port = htonl((unsigned long) data.port);
|
||||
|
||||
Reference in New Issue
Block a user