mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 08:16:39 +00:00
Reduce log level for kernel module check
This commit is contained in:
@@ -86,7 +86,7 @@ func tunModuleIsLoaded() bool {
|
||||
func WireGuardModuleIsLoaded() bool {
|
||||
|
||||
if os.Getenv(envDisableWireGuardKernel) == "true" {
|
||||
log.Infof("WireGuard kernel module disabled because the %s env is set to true", envDisableWireGuardKernel)
|
||||
log.Debugf("WireGuard kernel module disabled because the %s env is set to true", envDisableWireGuardKernel)
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user