mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Add BSD support (openbsd, freebsd, solaris)
This commit is contained in:
parent
ebc4eacee4
commit
f8dda26dba
8 changed files with 39 additions and 7 deletions
|
@ -8,7 +8,7 @@ import "strconv"
|
|||
import "encoding/binary"
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
import water "github.com/songgao/water"
|
||||
import water "github.com/neilalexander/water"
|
||||
|
||||
func (tun *tunDevice) setup(ifname string, iftapmode bool, addr string, mtu int) error {
|
||||
if iftapmode {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue