f-25: netif: Add tap handle
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
877cfc7260
commit
bf9f871fe1
2 changed files with 37 additions and 0 deletions
9
internal/netif/tap_other.go
Normal file
9
internal/netif/tap_other.go
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
//go:build !linux
|
||||
|
||||
package netif
|
||||
|
||||
import "errors"
|
||||
|
||||
func CreateTap(_ int, _, _ string) error {
|
||||
return errors.New("netif: tap not supported on this platform")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue