mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Merge pull request #1751 from 8none1/devel
Simple typo fix: static release -> static lease.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user