mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-27 20:58:36 +00:00
Fix FTBFS if HAVE_BROKEN_RTC defined.
This commit is contained in:
1 parent
54dae552b1
commit
b0ff858e78
1 file changed
+2
-2
+2
-2
@@ -158,10 +158,10 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
now = dnsmasq_time();
|
now = dnsmasq_time();
|
||||||
|
|
||||||
/* Create a serial at startup is not configured. */
|
/* Create a serial at startup if not configured. */
|
||||||
if (daemon->authinterface && daemon->soa_sn == 0)
|
if (daemon->authinterface && daemon->soa_sn == 0)
|
||||||
#ifdef HAVE_BROKEN_RTC
|
#ifdef HAVE_BROKEN_RTC
|
||||||
die(_("zone serial must be configured in --auth-soa"));
|
die(_("zone serial must be configured in --auth-soa"), NULL, EC_BADCONF);
|
||||||
#else
|
#else
|
||||||
daemon->soa_sn = now;
|
daemon->soa_sn = now;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user