<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
</head><body><p>Hi guys,<br></p><p>I wanted to use this feature and decided to figure out how to commit to the awesome OpenWrt project.</p><p>I am completely new to development so please be kind when reviewing. I appreciate any (constructive) feedback!</p><p>Cheers, ufomanfred</p><p>---<br> package/network/services/dnsmasq/files/dnsmasq.init | 4 +++-<br> 1 file changed, 3 insertions(+), 1 deletion(-)</p><p>diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init<br>index 3ef2b3d..f89bd8c 100644<br>--- a/package/network/services/dnsmasq/files/dnsmasq.init<br>+++ b/package/network/services/dnsmasq/files/dnsmasq.init<br>@@ -334,7 +334,9 @@ dhcp_host_add() {<br> config_get_bool broadcast "$cfg" broadcast 0<br> [ "$broadcast" = "0" ] && broadcast=<br> <br>- xappend "--dhcp-host=$macs${networkid:+,net:$networkid}${broadcast:+,set:needs-broadcast}${tag:+,set:$tag}${ip:+,$ip}${name:+,$name}"<br>+ config_get leasetime "$cfg" leasetime<br>+<br>+ xappend "--dhcp-host=$macs${networkid:+,net:$networkid}${broadcast:+,set:needs-broadcast}${tag:+,set:$tag}${ip:+,$ip}${name:+,$name}${leasetime:+,$leasetime}"<br> }<br> <br> dhcp_tag_add() {<br>-- <br>2.1.4</p></body></html>