mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 17:10:26 +00:00
Add tag set:known to dhcp-host
This commit is contained in:
parent
a33512953d
commit
f156fbceae
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ function updateDnsmasqConfig($iface,$status)
|
|||
$mac = trim($_POST["static_leases"]["mac"][$i]);
|
||||
$ip = trim($_POST["static_leases"]["ip"][$i]);
|
||||
if ($mac != "" && $ip != "") {
|
||||
$config .= "dhcp-host=$mac,$ip".PHP_EOL;
|
||||
$config .= "dhcp-host=$mac,$ip".",set:known".PHP_EOL;
|
||||
}
|
||||
}
|
||||
if ($_POST['no-resolv'] == "1") {
|
||||
|
|
Loading…
Reference in a new issue