4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-15 07:26:05 +00:00

Link refactor (#941)

* Link refactoring

* More refactoring

* More tweaking

* Cleaner shutdowns, UNIX socket support, more tweaks

* Actorise links, remove mutex

* SOCKS support
This commit is contained in:
Neil Alexander
2022-09-17 20:07:00 +01:00
committed by GitHub
parent 414aaf6eb9
commit 5ef61faeff
18 changed files with 738 additions and 698 deletions

View File

@ -55,10 +55,7 @@ func (m *Yggdrasil) StartJSON(configjson []byte) error {
if err != nil {
panic(err)
}
options := []core.SetupOption{
core.IfName("none"),
core.IfMTU(m.config.IfMTU),
}
options := []core.SetupOption{}
for _, peer := range m.config.Peers {
options = append(options, core.Peer{URI: peer})
}