mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 09:55:08 -05:00
client: don't require address in ntpdata command
If no address is specified, use the SOURCE_DATA command to get addresses of NTP sources, and request NTP_DATA for all of them.
This commit is contained in:
@@ -441,10 +441,10 @@ the offline state.
|
||||
the name of the server or peer was not resolved to an address yet; this source is
|
||||
not visible in the *sources* and *sourcestats* reports.
|
||||
|
||||
[[ntpdata]]*ntpdata* _address_::
|
||||
[[ntpdata]]*ntpdata* [_address_]::
|
||||
The *ntpdata* command displays the last valid measurement and other
|
||||
NTP-specific information about the NTP source. An example of the output is
|
||||
shown below.
|
||||
NTP-specific information about the specified NTP source, or all NTP sources if
|
||||
no address was specified. An example of the output is shown below.
|
||||
+
|
||||
----
|
||||
Remote address : 203.0.113.15 (CB00710F)
|
||||
|
||||
Reference in New Issue
Block a user