source:
freewrt/package/dnsmasq/patches/110-leases-path.patch@
a72a15a
| Last change on this file since a72a15a was a72a15a, checked in by , 16 years ago | |
|---|---|
|
|
| File size: 1.1 KB | |
-
dnsmasq.conf.example
diff -Nur dnsmasq-2.50.orig/dnsmasq.conf.example dnsmasq-2.50/dnsmasq.conf.example
old new 410 410 # The DHCP server needs somewhere on disk to keep its lease database. 411 411 # This defaults to a sane location, but if you want to change it, use 412 412 # the line below. 413 #dhcp-leasefile=/ var/lib/misc/dnsmasq.leases413 #dhcp-leasefile=/tmp/dnsmasq.leases 414 414 415 415 # Set the DHCP server to authoritative mode. In this mode it will barge in 416 416 # and take over the lease for any client which broadcasts on the network, -
src/config.h
diff -Nur dnsmasq-2.50.orig/src/config.h dnsmasq-2.50/src/config.h
old new 45 45 # elif defined(__sun__) || defined (__sun) 46 46 # define LEASEFILE "/var/cache/dnsmasq.leases" 47 47 # else 48 # define LEASEFILE "/ var/lib/misc/dnsmasq.leases"48 # define LEASEFILE "/tmp/dnsmasq.leases" 49 49 # endif 50 50 #endif 51 51
Note:
See TracBrowser
for help on using the repository browser.
