From 36b65b9cc744ba054a9c3c944db10b66328f719f Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Mon, 27 Oct 1997 20:16:26 +0000 Subject: [PATCH] Fix up handling of hostname --- server/db.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.2