diff options
author | Ted Lemon <source@isc.org> | 1997-03-06 19:45:20 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1997-03-06 19:45:20 +0000 |
commit | 804872dc5c3fa1dfad03a084fafe77558de00ba6 (patch) | |
tree | beeae0ec21513d0ecf78b107943caf76bd01cc12 /common/memory.c | |
parent | 74c13ab5dbc1cafd84ba0c225c795b960daa9e47 (diff) | |
download | isc-dhcp-804872dc5c3fa1dfad03a084fafe77558de00ba6.tar.gz |
ABANDONED_LEASE is persistent, so set it in the lease structure, not in the supersede structure.
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 2ddb03b4..e62b1167 100644 --- a/common/memory.c +++ b/common/memory.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: memory.c,v 1.27 1997/03/06 19:28:18 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: memory.c,v 1.28 1997/03/06 19:45:20 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -633,9 +633,9 @@ void abandon_lease (lease, message) { struct lease lt; + lease -> flags |= ABANDONED_LEASE; lt = *lease; lt.ends = 0xFFFFFFFF; - lt.flags |= ABANDONED_LEASE; warn ("Abandoning IP address %s: %s", piaddr (lease -> ip_addr), message); lt.hardware_addr.htype = -1; |