From owner-freebsd-bugs Tue Feb 8 2:39:14 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by builder.freebsd.org (Postfix) with ESMTP id 79E0D4198 for ; Tue, 8 Feb 2000 02:39:10 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id CAA17944; Tue, 8 Feb 2000 02:40:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from hydra.ik.bme.hu (hydra.ik.bme.hu [152.66.243.131]) by builder.freebsd.org (Postfix) with ESMTP id 4B4014198 for ; 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 Reply-To: mohacsi@hydra.ik.bme.hu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/16578: bug in the isc-dhcp in FreeBSD RELEASE 3.3 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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