diff options
| author | 2018-05-19 02:35:56 +0200 | |
|---|---|---|
| committer | 2018-05-19 02:40:22 +0200 | |
| commit | 75cdc5986a7e34f50a48c0b9935ec15b7c5012ff (patch) | |
| tree | d61ad2d9a69a21e519b6a34ece1d7322fbec149b | |
| parent | timers: no need to clear keepalive in persistent keepalive (diff) | |
| download | wireguard-go-0.0.20180519.tar.xz wireguard-go-0.0.20180519.zip | |
Revert "Temporary work around. Please revert me"0.0.20180519
This reverts commit 4312a7c70a58656891ff1398f2d0d36f4ed74c8a.
| -rw-r--r-- | tun_darwin.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tun_darwin.go b/tun_darwin.go index f76de13..fcde2a0 100644 --- a/tun_darwin.go +++ b/tun_darwin.go @@ -16,7 +16,6 @@ import ( "io/ioutil" "net" "os" - "path/filepath" "time" "unsafe" ) @@ -109,7 +108,6 @@ func CreateTUN(name string) (TUNDevice, error) { if err == nil && name == "utun" { fname := os.Getenv("WG_DARWIN_UTUN_NAME_FILE") if fname != "" { - os.MkdirAll(filepath.Dir(fname), 0700) ioutil.WriteFile(fname, []byte(tun.(*NativeTun).name+"\n"), 0400) } } |
