Enable Iroh local network discovery
This commit is contained in:
parent
280472cecb
commit
bfc5df698c
12 changed files with 136 additions and 16 deletions
|
|
@ -508,6 +508,14 @@ fn print_response(response: ControlResponse, json: bool) -> Result<()> {
|
|||
status.endpoint_id.as_deref().unwrap_or("not started")
|
||||
);
|
||||
println!("iroh relay: {}", status.iroh_relay_mode);
|
||||
println!(
|
||||
"iroh discovery: {}",
|
||||
if status.iroh_local_discovery {
|
||||
"local-network enabled"
|
||||
} else {
|
||||
"local-network disabled"
|
||||
}
|
||||
);
|
||||
println!("iroh: {}", status.iroh);
|
||||
}
|
||||
ControlResponse::NodeId(node) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue