Add BSD support (openbsd, freebsd, solaris)

This commit is contained in:
Neil Alexander 2018-03-01 11:49:49 +00:00
parent ebc4eacee4
commit f8dda26dba
8 changed files with 39 additions and 7 deletions

View file

@ -7,7 +7,7 @@ import "fmt"
import "os/exec"
import "strings"
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 {
var config water.Config