summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dnsmasq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dnsmasq.c b/src/dnsmasq.c
index aa29bbf..7fd33af 100644
--- a/src/dnsmasq.c
+++ b/src/dnsmasq.c
@@ -242,7 +242,7 @@ int main (int argc, char **argv)
/* Create a serial at startup if not configured. */
#ifdef HAVE_BROKEN_RTC
- if (daemon_>soa_sn == 0)
+ if (daemon->soa_sn == 0)
die(_("zone serial must be configured in --auth-soa"), NULL, EC_BADCONF);
#else
if (daemon->soa_sn == 0)