lib/config, lib/connections: Remove ListenAddresses hack (#6188)

This commit is contained in:
Simon Frei
2019-11-26 17:07:25 +01:00
committed by Jakob Borg
parent 8ced8ad562
commit b32821a586
9 changed files with 107 additions and 112 deletions

View File

@@ -131,7 +131,7 @@ func (s *Service) serve(ctx context.Context) {
l.Debugf("Starting stun for %s", s)
for _, addr := range s.cfg.StunServers() {
for _, addr := range s.cfg.Options().StunServers() {
// This blocks until we hit an exit condition or there are issues with the STUN server.
// This returns a boolean signifying if a different STUN server should be tried (oppose to the whole thing
// shutting down and this winding itself down.