netbird/iface/iface.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)
}