Do not fail validation when IPv6 is disabled by unloading the associated kernel module (#8648)

This commit is contained in:
Nash Kaminski
2018-05-01 13:54:35 -05:00
committed by Tony Murray
parent d257fa0ea5
commit f568adfe0a

View File

@ -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;
}