diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-08-22 19:55:25 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-08-22 19:55:25 +0000 |
commit | 75f4fa5b4be443418a1128fe254dd3e3cbf850b1 (patch) | |
tree | 6102d45f419401067bc8f55c5c57c892d4ce41d9 /asn1/lte-rrc | |
parent | 9e7ce8b817dc9b6a26ae3544628aad377d233ac5 (diff) | |
download | wireshark-75f4fa5b4be443418a1128fe254dd3e3cbf850b1.tar.gz |
Remove tree check when dissecting PCCH message so as to avoid filtering expert info on first pass
svn path=/trunk/; revision=51477
Diffstat (limited to 'asn1/lte-rrc')
-rw-r--r-- | asn1/lte-rrc/packet-lte-rrc-template.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/asn1/lte-rrc/packet-lte-rrc-template.c b/asn1/lte-rrc/packet-lte-rrc-template.c index d0c42258b2..1f7d1f22f8 100644 --- a/asn1/lte-rrc/packet-lte-rrc-template.c +++ b/asn1/lte-rrc/packet-lte-rrc-template.c @@ -2157,11 +2157,9 @@ dissect_lte_rrc_PCCH(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) col_set_str(pinfo->cinfo, COL_PROTOCOL, "LTE RRC PCCH"); col_clear(pinfo->cinfo, COL_INFO); - if (tree) { - ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, ENC_NA); - lte_rrc_tree = proto_item_add_subtree(ti, ett_lte_rrc); - dissect_PCCH_Message_PDU(tvb, pinfo, lte_rrc_tree, NULL); - } + ti = proto_tree_add_item(tree, proto_lte_rrc, tvb, 0, -1, ENC_NA); + lte_rrc_tree = proto_item_add_subtree(ti, ett_lte_rrc); + dissect_PCCH_Message_PDU(tvb, pinfo, lte_rrc_tree, NULL); } static void |