mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-07 16:54:16 +01:00
10 lines
239 B
Go
10 lines
239 B
Go
// +build !linux
|
|
|
|
package iface
|
|
|
|
// Create Creates a new Wireguard interface, sets a given IP and brings it up.
|
|
// Will reuse an existing one.
|
|
func Create(iface string, address string) error {
|
|
return CreateWithUserspace(iface, address)
|
|
}
|