mirror of
https://github.com/net-byte/water.git
synced 2024-04-21 12:21:38 +00:00
fix config
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ type PlatformSpecificParams struct {
|
|||||||
// For detail, please refer
|
// For detail, please refer
|
||||||
// https://github.com/OpenVPN/tap-windows6/blob/master/src/device.c#L431
|
// https://github.com/OpenVPN/tap-windows6/blob/master/src/device.c#L431
|
||||||
// and https://github.com/songgao/water/pull/13#issuecomment-270341777
|
// and https://github.com/songgao/water/pull/13#issuecomment-270341777
|
||||||
Network string
|
Network []string
|
||||||
}
|
}
|
||||||
|
|
||||||
func defaultPlatformSpecificParams() PlatformSpecificParams {
|
func defaultPlatformSpecificParams() PlatformSpecificParams {
|
||||||
|
|||||||
+1
-1
@@ -51,7 +51,7 @@ type PlatformSpecificParams struct {
|
|||||||
// For detail, please refer
|
// For detail, please refer
|
||||||
// https://github.com/OpenVPN/tap-windows6/blob/master/src/device.c#L431
|
// https://github.com/OpenVPN/tap-windows6/blob/master/src/device.c#L431
|
||||||
// and https://github.com/songgao/water/pull/13#issuecomment-270341777
|
// and https://github.com/songgao/water/pull/13#issuecomment-270341777
|
||||||
Network string
|
Network []string
|
||||||
}
|
}
|
||||||
|
|
||||||
func defaultPlatformSpecificParams() PlatformSpecificParams {
|
func defaultPlatformSpecificParams() PlatformSpecificParams {
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
//go:build !linux && !darwin && !windows
|
||||||
// +build !linux,!darwin,!windows
|
// +build !linux,!darwin,!windows
|
||||||
|
|
||||||
package water
|
package water
|
||||||
|
|||||||
Reference in New Issue
Block a user