mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-23 14:28:51 +01: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 {
|
func Create(iface string, address string) error {
|
||||||
|
|
||||||
if WireguardModExists() {
|
if WireguardModExists() {
|
||||||
|
log.Debug("using kernel Wireguard module")
|
||||||
return CreateWithKernel(iface, address)
|
return CreateWithKernel(iface, address)
|
||||||
} else {
|
} else {
|
||||||
return CreateWithUserspace(iface, address)
|
return CreateWithUserspace(iface, address)
|
||||||
|
Loading…
Reference in New Issue
Block a user