commit | 4820dce97a52b75397450f35c4d9ccaa1c733bad | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Tue Dec 18 18:30:30 2012 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Tue Dec 18 18:30:30 2012 +0000 |
tree | 80d69a3f56fbb73d75b3663c0f5fa45f9fb1233f | |
parent | f8abe0c566eee647dc3f7a8394ba61d41ff6d575 [diff] [blame] |
Make authoritative stuff a compile-time option.
diff --git a/src/dnsmasq.c b/src/dnsmasq.c index 6e3a7c2..9d90b4d 100644 --- a/src/dnsmasq.c +++ b/src/dnsmasq.c
@@ -148,6 +148,11 @@ die(_("asychronous logging is not available under Android"), NULL, EC_BADCONF); #endif +#ifndef HAVE_AUTH + if (daemon->authserver) + die(_("authoritative DNS not available: set HAVE_AUTH in src/config.h"), NULL, EC_BADCONF); +#endif + rand_init(); now = dnsmasq_time();