route fix

This commit is contained in:
John Smith 2022-12-10 19:22:23 -05:00
parent 2e1920b626
commit 78d06fb187

View File

@ -707,7 +707,10 @@ impl VeilidAPI {
} }
let remote_routes = rss.list_remote_routes(|k, _| Some(*k)); let remote_routes = rss.list_remote_routes(|k, _| Some(*k));
let mut out = format!("Remote Routes: (count = {}):\n", remote_routes.len()); out.push_str(&format!(
"Remote Routes: (count = {}):\n",
remote_routes.len()
));
for r in remote_routes { for r in remote_routes {
out.push_str(&format!("{}\n", r.encode())); out.push_str(&format!("{}\n", r.encode()));
} }