Use multicast on network/control channels
This commit is contained in:
parent
ca18089382
commit
ca934951ad
@ -831,7 +831,7 @@ func (n *network) Connect() error {
|
||||
n.tunClient[ControlChannel] = ctrlClient
|
||||
|
||||
// listen on ControlChannel
|
||||
ctrlListener, err := n.tunnel.Listen(ControlChannel)
|
||||
ctrlListener, err := n.tunnel.Listen(ControlChannel, tunnel.ListenMulticast())
|
||||
if err != nil {
|
||||
n.Unlock()
|
||||
return err
|
||||
@ -847,7 +847,7 @@ func (n *network) Connect() error {
|
||||
n.tunClient[NetworkChannel] = netClient
|
||||
|
||||
// listen on NetworkChannel
|
||||
netListener, err := n.tunnel.Listen(NetworkChannel)
|
||||
netListener, err := n.tunnel.Listen(NetworkChannel, tunnel.ListenMulticast())
|
||||
if err != nil {
|
||||
n.Unlock()
|
||||
return err
|
||||
|
Loading…
x
Reference in New Issue
Block a user