Update tunnel to send discovery on connect and multicast messages. Announce as broadcast

This commit is contained in:
Asim Aslam
2019-09-05 15:16:11 +01:00
parent a1ba1482c5
commit 1840b5bd74
3 changed files with 105 additions and 29 deletions

View File

@@ -180,6 +180,8 @@ func (s *session) Announce() error {
msg := s.newMessage("announce")
// we don't need an error back
msg.errChan = nil
// announce to all
msg.broadcast = true
// we don't need the link
msg.link = ""