diff --git a/params_darwin.go b/params_darwin.go index 5ac09bb..9b7c99b 100644 --- a/params_darwin.go +++ b/params_darwin.go @@ -36,7 +36,7 @@ type PlatformSpecificParams struct { // For detail, please refer // https://github.com/OpenVPN/tap-windows6/blob/master/src/device.c#L431 // and https://github.com/songgao/water/pull/13#issuecomment-270341777 - Network string + Network []string } func defaultPlatformSpecificParams() PlatformSpecificParams { diff --git a/params_linux.go b/params_linux.go index 59f1394..f543f25 100644 --- a/params_linux.go +++ b/params_linux.go @@ -51,7 +51,7 @@ type PlatformSpecificParams struct { // For detail, please refer // https://github.com/OpenVPN/tap-windows6/blob/master/src/device.c#L431 // and https://github.com/songgao/water/pull/13#issuecomment-270341777 - Network string + Network []string } func defaultPlatformSpecificParams() PlatformSpecificParams { diff --git a/params_others.go b/params_others.go index c5c4f6e..e5bb0c9 100644 --- a/params_others.go +++ b/params_others.go @@ -1,3 +1,4 @@ +//go:build !linux && !darwin && !windows // +build !linux,!darwin,!windows package water