From: Ted Lemon Date: Mon, 27 Oct 1997 20:16:26 +0000 (+0000) Subject: Fix up handling of hostname X-Git-Tag: DHCP-971122~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36b65b9cc744ba054a9c3c944db10b66328f719f;p=thirdparty%2Fdhcp.git Fix up handling of hostname --- diff --git a/server/db.c b/server/db.c index e77576764..f3b921d22 100644 --- a/server/db.c +++ b/server/db.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: db.c,v 1.14 1997/10/07 19:59:31 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: db.c,v 1.15 1997/10/27 20:16:26 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -144,7 +144,7 @@ int write_lease (lease) if (lease -> hostname) { errno = 0; fprintf (db_file, "\n\thostname \"%s\";", - lease -> client_hostname); + lease -> hostname); if (errno) { ++errors; }