diff --git a/src/main.go b/src/main.go index 4ef6d93..4331f60 100644 --- a/src/main.go +++ b/src/main.go @@ -45,7 +45,7 @@ func run() { } defer h1.Close() // Print host ID to terminal - log.Printf("Host ID: %s\n", h1.ID()) + log.Printf("Host ID: %s\n", h1.ID().String()) for _, addr := range h1.Addrs() { fmt.Printf("Listening on: %s\n", addr.String())