better formatted mdns discovered

This commit is contained in:
Alex Janka 2024-03-26 09:34:10 +11:00
parent c3eaf6ead6
commit 63afe2bb28

View file

@ -59,7 +59,7 @@ pub fn spawn_discover_thread() -> Result<MdnsDiscoveredList, DiscoveryError> {
*old_ip == ip.to_string() && *old_port == port *old_ip == ip.to_string() && *old_port == port
}) { }) {
log::info!( log::info!(
"mdns: discovered {name} - id: {id}, ip: {ip}, port: {port}" "mdns: discovered {name}:\n\t\tid: {id}, ip: {ip}, port: {port}"
); );
connections.insert(id, (ip.to_string(), port)); connections.insert(id, (ip.to_string(), port));
} }