Merge branch 'release/v4.2' into devel

# Conflicts:
#	scripts/pi-hole/js/db_graph.js
This commit is contained in:
Mcat12
2019-02-03 11:24:19 -08:00
5 changed files with 9 additions and 1 deletions

View File

@@ -578,6 +578,11 @@ function readAdlists()
$error .= "Static release for MAC address (".htmlspecialchars($mac).") already defined!<br>";
break;
}
if($ip !== "noip" && $lease["IP"] === $ip)
{
$error .= "Static lease for IP address (".htmlspecialchars($ip).") already defined!<br>";
break;
}
}
if(!strlen($error))