mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 05:17:57 +00:00
Pulled up rt16929
This commit is contained in:
parent
a36687f00d
commit
c11f349dba
2
RELNOTES
2
RELNOTES
@ -59,6 +59,8 @@ suggested fixes to <dhcp-users@isc.org>.
|
||||
- A bug was fixed in interface discovery wherein an error identifying
|
||||
a server-configured interface with no IPv4 addresses would SEGV.
|
||||
|
||||
- Fixed a bug in which write_lease() might report a failure incorrectly
|
||||
|
||||
Changes since 4.0.0-20070413
|
||||
|
||||
- Old (expired) leases are now cleaned.
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
#ifndef lint
|
||||
static char copyright[] =
|
||||
"$Id: db.c,v 1.79 2007/05/29 18:11:56 each Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
|
||||
"$Id: db.c,v 1.80 2007/06/05 23:28:43 each Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
|
||||
#endif /* not lint */
|
||||
|
||||
#include "dhcpd.h"
|
||||
@ -147,6 +147,7 @@ int write_lease (lease)
|
||||
int i;
|
||||
s = quotify_buf (lease -> uid, lease -> uid_len, MDL);
|
||||
if (s) {
|
||||
errno = 0;
|
||||
fprintf (db_file, "\n uid \"%s\";", s);
|
||||
if (errno)
|
||||
++errors;
|
||||
|
Loading…
x
Reference in New Issue
Block a user