mirror of
https://github.com/fumiama/water.git
synced 2026-06-11 21:50:43 +08:00
Styling fixes for Windows device selection support
This commit is contained in:
committed by
Song Gao
parent
86871951e7
commit
d689e71bf7
@@ -9,9 +9,9 @@ type PlatformSpecificParams struct {
|
||||
// use the default ComponentId. The default ComponentId is set to tap0901,
|
||||
// the one used by OpenVPN.
|
||||
ComponentID string
|
||||
// InterfaceName is a friendly name of the network adapter as set in Control Panel.
|
||||
// Of course, you may have multiple tap0901 adapters on the system, in which
|
||||
// case we need a friendlier way to identify them. In that case we can use
|
||||
// the friendly name of the network adapter as set in Control Panel.
|
||||
// case we need a friendlier way to identify them.
|
||||
InterfaceName string
|
||||
// Network is required when creating a TUN interface. The library will call
|
||||
// net.ParseCIDR() to parse this string into LocalIP, RemoteNetaddr,
|
||||
@@ -29,7 +29,6 @@ type PlatformSpecificParams struct {
|
||||
func defaultPlatformSpecificParams() PlatformSpecificParams {
|
||||
return PlatformSpecificParams{
|
||||
ComponentID: "tap0901",
|
||||
InterfaceName: "",
|
||||
Network: "192.168.1.10/24",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user