forked from osmocom/wireshark
add nice text item for the case when we could not find the dissector for a specific OID/attribute to make it easier to see where we have missed implementing something.
svn path=/trunk/; revision=11491
This commit is contained in:
parent
52d5646696
commit
e7172b423b
|
@ -133,7 +133,9 @@ call_ber_oid_callback(char *oid, tvbuff_t *tvb, int offset, packet_info *pinfo,
|
|||
tvbuff_t *next_tvb;
|
||||
|
||||
next_tvb = tvb_new_subset(tvb, offset, tvb_length_remaining(tvb, offset), tvb_length_remaining(tvb, offset));
|
||||
dissector_try_string(ber_oid_dissector_table, oid, next_tvb, pinfo, tree);
|
||||
if(!dissector_try_string(ber_oid_dissector_table, oid, next_tvb, pinfo, tree)){
|
||||
proto_tree_add_text(tree, next_tvb, 0, tvb_length_remaining(tvb, offset), "BER: Dissector for OID:%s not implemented. Contact Ethereal developers if you want this supported", oid);
|
||||
}
|
||||
|
||||
return offset;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue