Remove duplicate. (#5178)

This commit is contained in:
Alexander Shursha 2021-08-24 14:42:18 +03:00 committed by GitHub
parent 1656843a67
commit b21272f499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,7 +214,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
* then ensure that we are not running DHCP on the wan which
* will make a lot of ISP's unhappy.
*/
if (!empty($config['interfaces']['lan']) && !empty($config['dhcpd']['wan']) && !empty($config['dhcpd']['wan']) ) {
if (!empty($config['interfaces']['lan']) && !empty($config['dhcpd']['wan']) ) {
unset($config['dhcpd']['wan']);
}
link_interface_to_vlans($realid);