From mohacsi@hydra.ik.bme.hu  Tue Feb  8 02:32:34 2000
Return-Path: <mohacsi@hydra.ik.bme.hu>
Received: from hydra.ik.bme.hu (hydra.ik.bme.hu [152.66.243.131])
	by builder.freebsd.org (Postfix) with ESMTP id 4B4014198
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  8 Feb 2000 02:32:32 -0800 (PST)
Received: (from root@localhost)
	by hydra.ik.bme.hu (8.9.3/8.9.2) id LAA29546;
	Tue, 8 Feb 2000 11:32:28 +0100 (CET)
	(envelope-from mohacsi)
Message-Id: <200002081032.LAA29546@hydra.ik.bme.hu>
Date: Tue, 8 Feb 2000 11:32:28 +0100 (CET)
From: Janos Mohacsi <mohacsi@hydra.ik.bme.hu>
Reply-To: mohacsi@hydra.ik.bme.hu
To: FreeBSD-gnats-submit@freebsd.org
Subject: bug in the isc-dhcp in FreeBSD RELEASE 3.3
X-Send-Pr-Version: 3.2

>Number:         16578
>Category:       bin
>Synopsis:       host-name field is hexadecimal instead of text in
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb  8 02:40:01 PST 2000
>Closed-Date:    Wed May 23 13:42:53 PDT 2001
>Last-Modified:  Wed May 23 13:43:30 PDT 2001
>Originator:     Janos Mohacsi
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
Technical University of Budapest, Centre of Information Technology
>Environment:

     
		 FREEBSD 3.x	(in the current also, according to the CVS)

>Description:
		host-name field interpreted as hexadecimal not text as described in PR 12205 by John Baldwin.
	

>How-To-Repeat:
		Use WINNT DHCP server with host-name option set, and you got hexadecimal hostname. Probably bug in the original ISC-DHCP!
		

>Fix:
	
	
diff -u tables.c.orig tables.c
--- tables.c.orig	Tue Feb  8 11:22:39 2000
+++ tables.c	Tue Feb  8 11:22:50 2000
@@ -78,7 +78,7 @@
 	{ "lpr-servers", "IA",				&dhcp_universe, 9 },
 	{ "impress-servers", "IA",			&dhcp_universe, 10 },
 	{ "resource-location-servers", "IA",		&dhcp_universe, 11 },
-	{ "host-name", "X",				&dhcp_universe, 12 },
+	{ "host-name", "t",				&dhcp_universe, 12 },
 	{ "boot-size", "S",				&dhcp_universe, 13 },
 	{ "merit-dump", "t",				&dhcp_universe, 14 },
 	{ "domain-name", "t",				&dhcp_universe, 15 },


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed May 23 13:42:53 PDT 2001 
State-Changed-Why:  
this seems to still be the case.  isc-dhcp is contributed 
software in FreeBSD, you should take this up with the authors. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=16578 
>Unformatted:
