Merge pull request #1751 from 8none1/devel

Simple typo fix:  static release -> static lease.
This commit is contained in:
Adam Warner
2021-02-27 15:36:21 +00:00
committed by GitHub
+1 -1
View File
@@ -230,7 +230,7 @@ function addStaticDHCPLease($mac, $ip, $hostname) {
foreach($dhcp_static_leases as $lease) {
if($lease["hwaddr"] === $mac)
{
throw new Exception("Static release for MAC address (".htmlspecialchars($mac).") already defined!<br>", 4);
throw new Exception("Static lease for MAC address (".htmlspecialchars($mac).") already defined!<br>", 4);
}
if($ip !== "noip" && $lease["IP"] === $ip)
{