💄 hide port from output since it's alwasy 9040
parent
258cab8e4d
commit
fd4062416e
|
@ -132,7 +132,7 @@ fn client () -> Result <(), AppError> {
|
||||||
println! ("Found {} peers:", peers.len ());
|
println! ("Found {} peers:", peers.len ());
|
||||||
for (mac, ip) in &peers {
|
for (mac, ip) in &peers {
|
||||||
match mac {
|
match mac {
|
||||||
Some (mac) => println! ("{} = {}", MacAddress::new (*mac), ip),
|
Some (mac) => println! ("{} = {}", MacAddress::new (*mac), ip.ip ()),
|
||||||
None => println! ("<Unknown> = {}", ip),
|
None => println! ("<Unknown> = {}", ip),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue