4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-17 02:26:07 +00:00

Tweak logging

This commit is contained in:
Neil Alexander
2023-11-26 16:28:48 +00:00
parent f6f669617f
commit fef553ed18
4 changed files with 7 additions and 7 deletions

View File

@ -216,9 +216,9 @@ func main() {
panic(err)
}
address, subnet := n.core.Address(), n.core.Subnet()
logger.Infof("Your public key is %s", hex.EncodeToString(n.core.PublicKey()))
logger.Infof("Your IPv6 address is %s", address.String())
logger.Infof("Your IPv6 subnet is %s", subnet.String())
logger.Printf("Your public key is %s", hex.EncodeToString(n.core.PublicKey()))
logger.Printf("Your IPv6 address is %s", address.String())
logger.Printf("Your IPv6 subnet is %s", subnet.String())
}
// Setup the admin socket.