From f156fbceae9b5117de45f0fa8505a548225a0db0 Mon Sep 17 00:00:00 2001 From: billz Date: Mon, 22 Feb 2021 08:00:50 +0000 Subject: [PATCH] Add tag set:known to dhcp-host --- includes/dhcp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/dhcp.php b/includes/dhcp.php index 14c0cf34..d4f981ed 100755 --- a/includes/dhcp.php +++ b/includes/dhcp.php @@ -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") {