1
0
mirror of https://github.com/fumiama/water.git synced 2026-06-06 10:40:28 +08:00
Files
water/params_windows.go
2017-01-08 19:29:40 -08:00

19 lines
657 B
Go

package water
// PlatformSpecificParams defines parameters in Config that are specific to
// Windows. A zero-value of such type is valid.
type PlatformSpecificParams struct {
// ComponentID associates with the virtual adapter that exists in Windows.
// This is usually configured when driver for the adapter is installed. A
// zero-value of this field, i.e., an empty string, causes the interface to
// use the default ComponentId. The default ComponentId is set to tap0901,
// the one used by OpenVPN.
ComponentID string
}
func defaultPlatformSpecificParams() PlatformSpecificParams {
return PlatformSpecificParams{
ComponentId: "tap0901",
}
}