mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
chore: add log to detect a usage of the Wireguard kernel module
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
func Create(iface string, address string) error {
|
||||
|
||||
if WireguardModExists() {
|
||||
log.Debug("using kernel Wireguard module")
|
||||
return CreateWithKernel(iface, address)
|
||||
} else {
|
||||
return CreateWithUserspace(iface, address)
|
||||
|
||||
Reference in New Issue
Block a user