cmd/jounce: fix non-TLS listener address

This commit is contained in:
Simon Ser 2020-03-03 15:15:57 +01:00
parent 70fcef297b
commit 6e12347f2b
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -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)
}