openbsd-ports/net/dnsmasq/patches/patch-src_config_h
2008-06-05 19:38:39 +00:00

13 lines
436 B
Plaintext

$OpenBSD: patch-src_config_h,v 1.4 2008/06/05 19:38:39 rui Exp $
--- src/config.h.orig Thu May 29 20:44:42 2008
+++ src/config.h Wed Jun 4 21:42:55 2008
@@ -47,7 +47,7 @@
#if defined(__FreeBSD__)
# define CONFFILE "/usr/local/etc/dnsmasq.conf"
#else
-# define CONFFILE "/etc/dnsmasq.conf"
+# define CONFFILE "${SYSCONFDIR}/dnsmasq.conf"
#endif
#define DEFLEASE 3600 /* default lease time, 1 hour */
#define CHUSER "nobody"