Report server version in doctor
This commit is contained in:
@@ -606,6 +606,14 @@ async fn run_doctor_command(config: &dosh::config::ClientConfig, args: &Args) ->
|
||||
{
|
||||
Ok(check) => {
|
||||
println!("[ok] native udp: reachable");
|
||||
println!(
|
||||
"[ok] server version: {}",
|
||||
if check.server_version.is_empty() {
|
||||
"<unknown>"
|
||||
} else {
|
||||
&check.server_version
|
||||
}
|
||||
);
|
||||
println!("[ok] known host: trusted");
|
||||
println!("[ok] native auth: authorized as {}", check.requested_user);
|
||||
println!(
|
||||
|
||||
Reference in New Issue
Block a user