diff options
author | Mike Baker <mbm@openwrt.org> | 2006-08-08 20:15:09 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-08-08 20:15:09 +0000 |
commit | 9d5733595ebd18d13fe881bac871bbc5c7b08c34 (patch) | |
tree | c3a984c7ce006ea7302d1f571566768b9209c773 /package/dnsmasq | |
parent | f0b06feac8f880b6648c5d5621a3304e06f13bdd (diff) | |
download | upstream-9d5733595ebd18d13fe881bac871bbc5c7b08c34.tar.gz upstream-9d5733595ebd18d13fe881bac871bbc5c7b08c34.tar.bz2 upstream-9d5733595ebd18d13fe881bac871bbc5c7b08c34.zip |
fix error if dhcp is disabled
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4545 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dnsmasq')
-rw-r--r-- | package/dnsmasq/files/dnsmasq.conf | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/package/dnsmasq/files/dnsmasq.conf b/package/dnsmasq/files/dnsmasq.conf index 43acd85b15..8a51f8445d 100644 --- a/package/dnsmasq/files/dnsmasq.conf +++ b/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 |