1
0
forked from lug/matterbridge

Update dependencies (#1628)

This commit is contained in:
Wim
2021-10-30 15:17:50 +02:00
committed by GitHub
parent f65b18c2f6
commit 835dd2635a
9 changed files with 93 additions and 29 deletions

View File

@@ -107,7 +107,7 @@ func Listen(opts Options) error {
}
var lc net.ListenConfig
if opts.ReuseSocketAddrAndPort {
lc.Control = setsockoptReuseAddrAndPort
lc.Control = setReuseAddrAndPortSockopts
}
listener, err = lc.Listen(context.Background(), "tcp", addr)
if err != nil {