Wireshark-bugs: [Wireshark-bugs] [Bug 2541] New: PKM_FLOW_CONTROL & MAX_SUPPT_SECURITY_ASSNS doe
Date: Wed, 14 May 2008 01:31:50 -0700 (PDT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2541

           Summary: PKM_FLOW_CONTROL & MAX_SUPPT_SECURITY_ASSNS does not be
                    added to tlv_tree
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: cfreeer@xxxxxxxxxxxx
                CC: cfreeer@xxxxxxxxxxxx


Build Information:
svn 25292
--
PKM_FLOW_CONTROL & MAX_SUPPT_SECURITY_ASSNS does not be added to tlv_tree


My patch:
--- wireshark/plugins/wimax/wimax_utils.c       2008-05-14 16:18:01.000000000
+0800
+++ ./wimax_utils.c     2008-05-14 16:26:27.000000000 +0800
@@ -2712,9 +2712,11 @@
                        proto_tree_add_item(tlv_tree, hf_snp_pn_window_size,
tvb, offset, tlv_len, FALSE);
                break;
                case
PKM_ATTR_SECURITY_NEGOTIATION_PARAMETER_SUB_PKM_FLOW_CONTROL:
+                       tlv_tree = add_tlv_subtree(&tlv_info,
ett_security_negotiation_parameters, tree, hf_snp_max_conc_transactions, tvb,
offset, tlv_len, FALSE);
                        proto_tree_add_item(tlv_tree,
hf_snp_max_conc_transactions, tvb, offset, 1, FALSE);
                break;
                case
PKM_ATTR_SECURITY_NEGOTIATION_PARAMETER_SUB_MAX_SUPPT_SECURITY_ASSNS:
+                       tlv_tree = add_tlv_subtree(&tlv_info,
ett_security_negotiation_parameters, tree, hf_snp_max_suppt_sec_assns, tvb,
offset, tlv_len, FALSE);
                        proto_tree_add_item(tlv_tree,
hf_snp_max_suppt_sec_assns, tvb, offset, 1, FALSE);
                break;
                default:


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.