From d87f4d79c42deb84b51a0cac59f06cb55b93a199 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 30 Oct 2020 17:31:28 +0100 Subject: [PATCH] gateways: far gateway IPv6 for https://github.com/opnsense/core/issues/4436 (I'm not sure this works, let's ask for a test first) --- src/www/system_gateways_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/system_gateways_edit.php b/src/www/system_gateways_edit.php index 8c30a7f3d..c7ba69ceb 100644 --- a/src/www/system_gateways_edit.php +++ b/src/www/system_gateways_edit.php @@ -129,7 +129,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { } } - if (!$found) { + if (!$found && !isset($pconfig['fargw'])) { $input_errors[] = sprintf(gettext('The gateway address "%s" does not lie within one of the chosen interface\'s IPv6 subnets.'), $pconfig['gateway']); } }