Fix error in prepareServer
This commit is contained in:
parent
c19cce69fa
commit
3b6afdf80c
2 changed files with 4 additions and 3 deletions
|
@ -647,6 +647,7 @@ func (server *Server) prepareServer(entryPointName string, entryPoint *configura
|
|||
listener, err := net.Listen("tcp", entryPoint.Address)
|
||||
if err != nil {
|
||||
log.Error("Error opening listener ", err)
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
if entryPoint.ProxyProtocol {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue