projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update iftop to 0.17, closes #475
[openwrt.git]
/
openwrt
/
package
/
dnsmasq
/
files
/
dnsmasq.conf
diff --git
a/openwrt/package/dnsmasq/files/dnsmasq.conf
b/openwrt/package/dnsmasq/files/dnsmasq.conf
index
b4bdd4b
..
7aed3a3
100644
(file)
--- a/
openwrt/package/dnsmasq/files/dnsmasq.conf
+++ b/
openwrt/package/dnsmasq/files/dnsmasq.conf
@@
-9,10
+9,16
@@
local=/lan/
domain=lan
expand-hosts
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
# 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
# <hwaddr> <ipaddr>
# use /etc/ethers for static hosts; same format as --dhcp-host
# <hwaddr> <ipaddr>
This page took
0.019825 seconds
and
4
git commands to generate.