Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
songgao committed Jan 12, 2019
1 parent 2ee3b4e commit ed5454b
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 19 deletions.
2 changes: 0 additions & 2 deletions if_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

package water

import (
Expand Down
1 change: 0 additions & 1 deletion ipv4_windows_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// +build windows
package water

import (
Expand Down
2 changes: 0 additions & 2 deletions params_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build darwin

package water

// PlatformSpecificParams defines parameters in Config that are specific to
Expand Down
2 changes: 0 additions & 2 deletions params_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

package water

// DevicePermissions determines the owner and group owner for the newly created
Expand Down
2 changes: 0 additions & 2 deletions params_windows.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build windows

package water

// PlatformSpecificParams defines parameters in Config that are specific to
Expand Down
2 changes: 0 additions & 2 deletions syscalls_darwin.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build darwin

package water

import (
Expand Down
2 changes: 0 additions & 2 deletions syscalls_linux.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// +build linux

package water

import (
Expand Down
11 changes: 5 additions & 6 deletions syscalls_windows.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
// +build windows

// To use it with windows, you need a tap driver installed on windows.
// https://github.com/OpenVPN/tap-windows6
// or just install OpenVPN
// https://github.com/OpenVPN/openvpn
package water

import (
Expand All @@ -18,6 +12,11 @@ import (
"golang.org/x/sys/windows/registry"
)

// To use it with windows, you need a tap driver installed on windows.
// https://github.com/OpenVPN/tap-windows6
// or just install OpenVPN
// https://github.com/OpenVPN/openvpn

var (
errIfceNameNotFound = errors.New("Failed to find the name of interface")
// Device Control Codes
Expand Down

0 comments on commit ed5454b

Please sign in to comment.