Wireshark-bugs: [Wireshark-bugs] [Bug 9594] DHCPv4 Suboption 125 not dissected if first suboptio
Date: Tue, 24 Dec 2013 08:10:55 +0000

changed bug 9594

What Removed Added
Status UNCONFIRMED CONFIRMED
CC   alexis.lagoutte@gmail.com
Ever confirmed   1

Comment # 3 on bug 9594 from
Hi Ben,

The problem don't come from suboption don't start by 1 but from the Enterprise
number, in reply, the enterprise value is 4413 (and answer is 3561)

And Wireshark support only for the moment Enterprise value 3561

The small patch fix this issue :
diff --git a/epan/dissectors/packet-bootp.c b/epan/dissectors/packet-bootp.c
index f9c82aa..caa0552 100644
--- a/epan/dissectors/packet-bootp.c
+++ b/epan/dissectors/packet-bootp.c
@@ -2538,6 +2538,7 @@ bootp_option(tvbuff_t *tvb, packet_info *pinfo,
proto_tree *bp_tree, int voff,
                        switch (enterprise) {

                        case 3561: /* ADSL Forum */
+                       case 4413: /* Broadcom */
                                s_end = optoff + s_option_len;
                                if ( s_end > optend ) {
                                        expert_add_info_format(pinfo, vti,
&ei_bootp_option125_enterprise_malfo

But there is also the issue, no display data when it is a unknown enterprise..


You are receiving this mail because:
  • You are watching all bug changes.