client: fix add command
The default version changed to 0 (autoselect).
This commit is contained in:
parent
9ba8a33966
commit
7f757f09ce
1 changed files with 1 additions and 1 deletions
2
client.c
2
client.c
|
@ -1087,7 +1087,7 @@ process_cmd_add_server_or_peer(CMD_Request *msg, char *line)
|
|||
opt_name = "offset";
|
||||
else if (data.params.poll_target != SRC_DEFAULT_POLLTARGET)
|
||||
opt_name = "polltarget";
|
||||
else if (data.params.version != NTP_VERSION)
|
||||
else if (data.params.version != 0)
|
||||
opt_name = "version";
|
||||
else
|
||||
opt_name = NULL;
|
||||
|
|
Loading…
Reference in a new issue