mirror of
https://github.com/yggdrasil-network/water.git
synced 2025-05-19 16:35:10 +03:00
Styling fixes for Windows device selection support
This commit is contained in:
parent
86871951e7
commit
d689e71bf7
2 changed files with 14 additions and 17 deletions
|
@ -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",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue