diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2012-02-29 21:43:37 +0000 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2012-02-29 21:43:37 +0000 |
commit | b7f4020133da5e894a4c72a0b51518d0709e8b8e (patch) | |
tree | 5c75d56bb640c41bdbc576f9710784d09a51e77d | |
parent | c46c7c7584e069a4a4158683c002f08e307d66cc (diff) | |
download | dnsmasq-b7f4020133da5e894a4c72a0b51518d0709e8b8e.tar.gz |
Fix FTBFS when HAVE_BROKEN_RTC defined.v2.60rc4
-rw-r--r-- | src/lease.c | 3 |
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 } |