Fix from Dietmar Petras to the BOOTP dissector - entries for BOOTP
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 14 Feb 2000 18:15:29 +0000 (18:15 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 14 Feb 2000 18:15:29 +0000 (18:15 +0000)
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1636 f5534014-38df-0310-8fa8-9805f1628bb7

packet-bootp.c

index 5df6fe40ac6a2aa9f40a88961246b38043c2dcee..78bf6fcd99d721413a2cdb5c23fa0084aad4c426 100644 (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 },