diff options
author | Ted Lemon <source@isc.org> | 1997-03-08 00:22:47 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1997-03-08 00:22:47 +0000 |
commit | e452b9fdc872b0768eae5eea37034152960b1862 (patch) | |
tree | df3100246874f79424ec1f9068af5c05f2eafc5e /common/memory.c | |
parent | 6a1d7b36e0afc98703e518ca1b67e5962afdb586 (diff) | |
download | isc-dhcp-e452b9fdc872b0768eae5eea37034152960b1862.tar.gz |
Use MAX_TIME for abandoned leases rather than an explicit constant (which was wrong).
Diffstat (limited to 'common/memory.c')
-rw-r--r-- | common/memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/memory.c b/common/memory.c index 2e094deb..75a29bf8 100644 --- a/common/memory.c +++ b/common/memory.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: memory.c,v 1.30 1997/03/06 22:20:17 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: memory.c,v 1.31 1997/03/08 00:22:47 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -636,7 +636,7 @@ void abandon_lease (lease, message) lease -> flags |= ABANDONED_LEASE; lt = *lease; - lt.ends = 0xFFFFFFFF; + lt.ends = MAX_TIME; warn ("Abandoning IP address %s: %s", piaddr (lease -> ip_addr), message); lt.hardware_addr.htype = 0; |