mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Add support for specifying TCP source interface, i.e. tcp://a.b.c.d:e/eth0, for multiple simultaneous peerings to the same node over different interfaces
This commit is contained in:
parent
4666b8f6cd
commit
aecc151baf
3 changed files with 49 additions and 14 deletions
|
@ -153,6 +153,6 @@ func (m *multicast) listen() {
|
|||
}
|
||||
addr.Zone = from.Zone
|
||||
saddr := addr.String()
|
||||
m.core.tcp.connect(saddr)
|
||||
m.core.tcp.connect(saddr, "")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue