projects
/
openwrt
/
staging
/
yousong.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f30ce66
)
fix error if dhcp is disabled
author
Mike Baker
<mbm@openwrt.org>
Tue, 8 Aug 2006 20:15:09 +0000
(20:15 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Tue, 8 Aug 2006 20:15:09 +0000
(20:15 +0000)
SVN-Revision: 4545
openwrt/package/dnsmasq/files/dnsmasq.conf
patch
|
blob
|
history
diff --git
a/openwrt/package/dnsmasq/files/dnsmasq.conf
b/openwrt/package/dnsmasq/files/dnsmasq.conf
index 43acd85b154f9999c3b710759eadba622df9d412..8a51f8445d6d8786ca0fc2185b48740bb908467b 100644
(file)
--- a/
openwrt/package/dnsmasq/files/dnsmasq.conf
+++ b/
openwrt/package/dnsmasq/files/dnsmasq.conf
@@
-12,15
+12,13
@@
resolv-file=/tmp/resolv.conf
@ifdef dhcp_enable
dhcp-range=@@start@@,@@end@@,@@netmask@@,@@lease@@
+dhcp-authoritative
+dhcp-leasefile=/tmp/dhcp.leases
@endif
@ifdef wan_ifname
except-interface=@@wan_ifname@@
@endif
-# enable dhcp (start,end,netmask,leasetime)
-dhcp-authoritative
-dhcp-leasefile=/tmp/dhcp.leases
-
# use /etc/ethers for static hosts; same format as --dhcp-host
# <hwaddr> <ipaddr>
read-ethers