From dac865c61fea274a8e7f5776238bc55093698f23 Mon Sep 17 00:00:00 2001 From: braginini Date: Thu, 24 Jun 2021 12:49:14 +0200 Subject: [PATCH] chore: add log to detect a usage of the Wireguard kernel module --- iface/iface_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/iface/iface_linux.go b/iface/iface_linux.go index fd39aee459a..86c670785b6 100644 --- a/iface/iface_linux.go +++ b/iface/iface_linux.go @@ -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)