summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2012-02-29 21:43:37 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2012-02-29 21:43:37 +0000
commitb7f4020133da5e894a4c72a0b51518d0709e8b8e (patch)
tree5c75d56bb640c41bdbc576f9710784d09a51e77d
parentc46c7c7584e069a4a4158683c002f08e307d66cc (diff)
downloaddnsmasq-b7f4020133da5e894a4c72a0b51518d0709e8b8e.tar.gz
Fix FTBFS when HAVE_BROKEN_RTC defined.v2.60rc4
-rw-r--r--src/lease.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lease.c b/src/lease.c
index b4a1c30..fa2005f 100644
--- a/src/lease.c
+++ b/src/lease.c
@@ -614,7 +614,8 @@ void lease_set_expires(struct dhcp_lease *lease, unsigned int len, time_t now)
if (len != lease->length)
{
lease->length = len;
- lease->aux_changed = file_dirty = 1;
+ lease->flags |= LEASE_AUX_CHANGED;
+ file_dirty = 1;
}
#endif
}