fix error if dhcp is disabled
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 8 Aug 2006 20:15:09 +0000 (20:15 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 8 Aug 2006 20:15:09 +0000 (20:15 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4545 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/dnsmasq/files/dnsmasq.conf

index 43acd85..8a51f84 100644 (file)
@@ -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
This page took 0.022598 seconds and 4 git commands to generate.