Fix from Dietmar Petras to the BOOTP dissector - entries for BOOTP

options 62 and 63 were missing, and the table from which they were
missing was an array indexed by the option number, so options 62 and
above were decoded incorrectly.

svn path=/trunk/; revision=1636
This commit is contained in:
Guy Harris 2000-02-14 18:15:29 +00:00
parent 679a1de7dd
commit a9e588ea57
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,7 @@
* Routines for BOOTP/DHCP packet disassembly
* Gilbert Ramirez <gram@xiexie.org>
*
* $Id: packet-bootp.c,v 1.25 2000/01/22 06:22:12 guy Exp $
* $Id: packet-bootp.c,v 1.26 2000/02/14 18:15:29 guy Exp $
*
* The information used comes from:
* RFC 2132: DHCP Options and BOOTP Vendor Extensions
@ -168,6 +168,8 @@ bootp_option(const u_char *pd, proto_tree *bp_tree, int voff, int eoff)
/* 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 },