Ethereal-dev: [ethereal-dev] Bug in ethereal-0.8.3/packet-bootp.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Dietmar Petras <dietmar.petras@xxxxxxx>
Date: Mon, 14 Feb 2000 17:35:10 +0100
Bug-Report:

DHCP-Options higher 62 are not displayed correcty.

Reason: The array `static struct opt_info opt[]´ has no entries 62 and 63,
which are undefined options.

Enclosed patch fixes this bug.

Kind regards,

     Dietmar


-- 
---------------------------------------------------------------------------
Dr. Dietmar Petras     Senior Expert
ELSA AG                Engineering Consumer Communications
Sonnenweg 11           Phone: +49-(0)241-606-4649
52070 Aachen           Fax:   +49-(0)241-606-4699
Germany                EMail: DPetras@xxxxxxx
---------------------------------------------------------------------------


diff -Naur ethereal-0.8.3/packet-bootp.c ethereal-0.8.3.new/packet-bootp.c
--- ethereal-0.8.3/packet-bootp.c	Sat Jan 22 14:58:26 2000
+++ ethereal-0.8.3.new/packet-bootp.c	Mon Feb 14 16:52:07 2000
@@ -168,6 +168,8 @@
 		/*  59 */ { "Rebinding Time Value",					time_in_secs },
 		/*  60 */ { "Vendor class identifier",				opaque },
 		/*  61 */ { "Client identifier",					special },
+		/*  62 */ { "undefined",					none },
+		/*  63 */ { "undefined",					none },
 		/*  64 */ { "Network Information Service+ Domain",	string },
 		/*  65 */ { "Network Information Service+ Servers",	ipv4 },
 		/*  66 */ { "TFTP Server Name",						string },