cmd/jounce: fix non-TLS listener address
This commit is contained in:
parent
70fcef297b
commit
6e12347f2b
@ -47,7 +47,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
var err error
|
var err error
|
||||||
ln, err = net.Listen("tcp", addr)
|
ln, err = net.Listen("tcp", cfg.Addr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("failed to start listener: %v", err)
|
log.Fatalf("failed to start listener: %v", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user