Simple typo fix: static release -> static lease.

Signed-off-by: Will Cooke <will@whizzy.org>
This commit is contained in:
Will Cooke
2021-02-27 15:02:52 +00:00
parent c1075c6664
commit b69e774bf3

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)
{