mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-27 02:24:30 +01:00
b64f5ffcb4
Small code cleaning in the iface package. These changes necessary to get a clean code in case if we involve more platforms. The OS related functions has been distributed into separate files and it has been mixed with not OS related logic. The goal is to get a clear picture of the layer between WireGuard and business logic.
10 lines
180 B
Go
10 lines
180 B
Go
//go:build !linux
|
|
// +build !linux
|
|
|
|
package iface
|
|
|
|
// WireguardModuleIsLoaded check if we can load wireguard mod (linux only)
|
|
func WireguardModuleIsLoaded() bool {
|
|
return false
|
|
}
|