Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2000 11:32:28 +0100 (CET)
From:      Janos Mohacsi <mohacsi@hydra.ik.bme.hu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/16578: bug in the isc-dhcp in FreeBSD RELEASE 3.3
Message-ID:  <200002081032.LAA29546@hydra.ik.bme.hu>

next in thread | raw e-mail | index | archive | help

>Number:         16578
>Category:       bin
>Synopsis:       host-name field is hexadecimal instead of text in
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb  8 02:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002081032.LAA29546>