💄 hide port from output since it's alwasy 9040

main
_ 2021-12-06 20:02:21 -06:00
parent 258cab8e4d
commit fd4062416e
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ fn client () -> Result <(), AppError> {
println! ("Found {} peers:", peers.len ());
for (mac, ip) in &peers {
match mac {
Some (mac) => println! ("{} = {}", MacAddress::new (*mac), ip),
Some (mac) => println! ("{} = {}", MacAddress::new (*mac), ip.ip ()),
None => println! ("<Unknown> = {}", ip),
}
}