mirror of
https://github.com/netbirdio/netbird.git
synced 2025-06-19 17:31:39 +02:00
chore: add log to detect a usage of the Wireguard kernel module
This commit is contained in:
parent
a40669270a
commit
dac865c61f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user