mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-24 07:55:06 +03:00
Update fallback return value in YggdrasilUtils to return 'N/A' when peer address is not available.
This commit is contained in:
parent
87251c5695
commit
9e11f76fc3
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ class YggdrasilUtils {
|
|||
}
|
||||
|
||||
// Fallback to address or "Anonymous"
|
||||
return 'Anonymous';
|
||||
return peer.address ? 'Anonymous' : 'N/A';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue