two/internal/netif/tap_other.go

13 lines
274 B
Go

//go:build !linux
package netif
import "errors"
func CreateTap(_ int, _, _ string, _ int) error {
return errors.New("netif: tap not supported on this platform")
}
func DeleteTap(_ int, _ string) error {
return errors.New("netif: tap not supported on this platform")
}