diff --git a/tunnel/tunnel.go b/tunnel/tunnel.go index e392f8d0..a5526f86 100644 --- a/tunnel/tunnel.go +++ b/tunnel/tunnel.go @@ -103,6 +103,7 @@ func (t *tunnel) notify(msg *mqtt.Message) { return } for _, srv := range n.Services { + srv := srv if d, ok := t.dialerMap[srv]; ok { go func() { opts := append(