From 46ea5ba6b4b35570d4e514d9dc469f7e009c1b5d Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 21 Nov 2023 16:24:02 +0100 Subject: [PATCH] dhcp: side-by-side works fine now #6983 --- src/www/services_dhcp.php | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/src/www/services_dhcp.php b/src/www/services_dhcp.php index 4c6feda85..9a9646f7c 100644 --- a/src/www/services_dhcp.php +++ b/src/www/services_dhcp.php @@ -343,12 +343,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { break; } } - - /* make sure that the DHCP Relay isn't enabled on this interface */ - if (isset($config['dhcrelay']['enable']) && (stristr($config['dhcrelay']['interface'], $if) !== false)) { - $input_errors[] = sprintf(gettext("You must disable the DHCP relay on the %s interface before enabling the DHCP server."), - !empty($config['interfaces'][$if]['descr']) ? htmlspecialchars($config['interfaces'][$if]['descr']) : strtoupper($if)); - } } // save data @@ -603,9 +597,6 @@ include("head.inc");
- - - 0) print_input_errors($input_errors); ?>
@@ -1134,8 +1125,7 @@ include("head.inc");
- +
@@ -1193,8 +1183,7 @@ include("head.inc");
- - +