aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tunnel
diff options
context:
space:
mode:
Diffstat (limited to 'tunnel')
-rw-r--r--tunnel/firewall/helpers.go4
-rw-r--r--tunnel/ifaceconfig.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/tunnel/firewall/helpers.go b/tunnel/firewall/helpers.go
index 79ab0d82..1c60558b 100644
--- a/tunnel/firewall/helpers.go
+++ b/tunnel/firewall/helpers.go
@@ -6,13 +6,13 @@
package firewall
import (
+ "crypto/rand"
"fmt"
"io"
"os"
"runtime"
"syscall"
"unsafe"
- "crypto/rand"
"golang.org/x/sys/windows"
)
@@ -148,4 +148,4 @@ func randGUID() (windows.GUID, error) {
return guid, io.ErrShortBuffer
}
return guid, nil
-} \ No newline at end of file
+}
diff --git a/tunnel/ifaceconfig.go b/tunnel/ifaceconfig.go
index 3954441b..a64a469b 100644
--- a/tunnel/ifaceconfig.go
+++ b/tunnel/ifaceconfig.go
@@ -239,4 +239,4 @@ func waitForFamilies(tun *tun.NativeTun) {
luid := winipcfg.LUID(tun.LUID())
f(luid, windows.AF_INET, 100)
f(luid, windows.AF_INET6, 3)
-} \ No newline at end of file
+}