X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b5ce9def41f90be55d1855ef928e42dbc3130284..a7718efc64d985e1728c36e22fa39839e4deaea5:/openwrt/package/dnsmasq/files/dnsmasq.conf?ds=sidebyside diff --git a/openwrt/package/dnsmasq/files/dnsmasq.conf b/openwrt/package/dnsmasq/files/dnsmasq.conf index b4bdd4b63..7aed3a3da 100644 --- a/openwrt/package/dnsmasq/files/dnsmasq.conf +++ b/openwrt/package/dnsmasq/files/dnsmasq.conf @@ -9,10 +9,16 @@ local=/lan/ domain=lan expand-hosts +@ifdef dhcp_enable +dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@ +@endif +@ifdef wan_ifname +except-interface=@@wan_ifname@@ +@endif + # enable dhcp (start,end,netmask,leasetime) dhcp-authoritative -#dhcp-range=192.168.1.100,192.168.1.250,255.255.255.0,12h -#dhcp-leasefile=/tmp/dhcp.leases +dhcp-leasefile=/tmp/dhcp.leases # use /etc/ethers for static hosts; same format as --dhcp-host #