diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-03 04:04:41 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-03 05:00:40 +0100 |
commit | 69f0fe67b63d90e523a5a1241fb1b46c2e8dbe03 (patch) | |
tree | 1ef86da3242afde462dcadb7241bb09f499d5bd7 /tun | |
parent | d435be35cac49af9367b2005d831d55e570c4b1b (diff) | |
download | wireguard-go-69f0fe67b63d90e523a5a1241fb1b46c2e8dbe03.tar.gz wireguard-go-69f0fe67b63d90e523a5a1241fb1b46c2e8dbe03.zip |
global: begin modularization
Diffstat (limited to '')
-rw-r--r-- | device/tun.go (renamed from tun.go) | 2 | ||||
-rw-r--r-- | tun/helper_test.go (renamed from helper_test.go) | 2 | ||||
-rw-r--r-- | tun/tun_windows.go | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -3,7 +3,7 @@ * Copyright (C) 2017-2019 WireGuard LLC. All Rights Reserved. */ -package main +package device import ( "golang.zx2c4.com/wireguard/tun" diff --git a/helper_test.go b/tun/helper_test.go index 3705c97..3e86fc8 100644 --- a/helper_test.go +++ b/tun/helper_test.go @@ -3,7 +3,7 @@ * Copyright (C) 2017-2019 WireGuard LLC. All Rights Reserved. */ -package main +package tun import ( "bytes" diff --git a/tun/tun_windows.go b/tun/tun_windows.go index 94efe48..d767d79 100644 --- a/tun/tun_windows.go +++ b/tun/tun_windows.go @@ -353,4 +353,4 @@ func (tun *NativeTun) Write(buff []byte, offset int) (int, error) { func (tun *NativeTun) GUID() windows.GUID { return *(*windows.GUID)(tun.wt) -}
\ No newline at end of file +} |