4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-15 08:36:06 +00:00

Fix RetryPeersNow, move startup logging, don't set TUN address if not available

This commit is contained in:
Neil Alexander
2023-10-22 15:51:30 +01:00
parent 955aa4af79
commit 094f80f39c
9 changed files with 43 additions and 16 deletions

View File

@ -78,6 +78,10 @@ func (m *Yggdrasil) StartJSON(configjson []byte) error {
if err != nil {
panic(err)
}
address, subnet := m.core.Address(), m.core.Subnet()
logger.Infof("Your public key is %s", hex.EncodeToString(m.core.PublicKey()))
logger.Infof("Your IPv6 address is %s", address.String())
logger.Infof("Your IPv6 subnet is %s", subnet.String())
}
// Setup the multicast module.