Tweak logging

This commit is contained in:
Neil Alexander 2023-11-26 16:28:48 +00:00
parent f6f669617f
commit fef553ed18
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
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.