mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
14 lines
299 B
Go
14 lines
299 B
Go
//go:build !linux || android
|
|
|
|
package device
|
|
|
|
// WireGuardModuleIsLoaded reports whether the kernel WireGuard module is available.
|
|
func WireGuardModuleIsLoaded() bool {
|
|
return false
|
|
}
|
|
|
|
// ModuleTunIsLoaded reports whether the tun device is available.
|
|
func ModuleTunIsLoaded() bool {
|
|
return true
|
|
}
|