added netbox allocator
This commit is contained in:
parent
fef86deac8
commit
cef74df3e8
10 changed files with 195 additions and 53 deletions
|
|
@ -34,7 +34,7 @@ func NewStream(cfg *config.Raft) (s *stream, err error) {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
l, err := tls.Listen("tcp", cfg.Address, &tls.Config{
|
||||
l, err := tls.Listen("tcp", cfg.Listen, &tls.Config{
|
||||
MinVersion: tls.VersionTLS13,
|
||||
CipherSuites: ciphers,
|
||||
CurvePreferences: curves,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue