From 6e12347f2bf0a6b25e3a78f3c7508c5c60818712 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 3 Mar 2020 15:15:57 +0100 Subject: [PATCH] cmd/jounce: fix non-TLS listener address --- cmd/jounce/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/jounce/main.go b/cmd/jounce/main.go index 91cca3f..e7b19cd 100644 --- a/cmd/jounce/main.go +++ b/cmd/jounce/main.go @@ -47,7 +47,7 @@ func main() { } } else { var err error - ln, err = net.Listen("tcp", addr) + ln, err = net.Listen("tcp", cfg.Addr) if err != nil { log.Fatalf("failed to start listener: %v", err) }