From f568adfe0ac7407ef0b18eedb83683d07a1cee28 Mon Sep 17 00:00:00 2001 From: Nash Kaminski <36900518+gs-kamnas@users.noreply.github.com> Date: Tue, 1 May 2018 13:54:35 -0500 Subject: [PATCH] Do not fail validation when IPv6 is disabled by unloading the associated kernel module (#8648) --- LibreNMS/Validations/Programs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibreNMS/Validations/Programs.php b/LibreNMS/Validations/Programs.php index c924a522e7..22d6c1b6ea 100644 --- a/LibreNMS/Validations/Programs.php +++ b/LibreNMS/Validations/Programs.php @@ -68,7 +68,7 @@ class Programs extends BaseValidation return; } - if (str_contains($output, '::1 is unreachable')) { + if (str_contains($output, '::1 is unreachable') || str_contains($output, 'Address family not supported')) { $validator->warn("IPv6 is disabled on your server, you will not be able to add IPv6 devices."); return; }