forked from osmocom/wireshark
Eliminate proto_tree_add_text from GSM_SMS dissector.
Change-Id: Ibe189239735da2ebb1b0ce61a5af249975b38be3 Reviewed-on: https://code.wireshark.org/review/4402 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
fa1d0be4bb
commit
d65b7d5cd2
|
@ -1086,7 +1086,7 @@ tele_param_user_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint
|
|||
Let's translate it into bytes */
|
||||
num_fields <<= 1;
|
||||
}
|
||||
dis_field_udh(tvb_out, tree, &offset, &required_octs, &num_fields, cset, &fill_bits, &udh_fields);
|
||||
dis_field_udh(tvb_out, pinfo, tree, &offset, &required_octs, &num_fields, cset, &fill_bits, &udh_fields);
|
||||
|
||||
offset = saved_offset;
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -41,7 +41,7 @@ typedef struct {
|
|||
guint16 port_dst; /* application port addressing scheme destination port */
|
||||
} gsm_sms_udh_fields_t;
|
||||
|
||||
void dis_field_udh(tvbuff_t *tvb, proto_tree *tree, guint32 *offset, guint32 *length,
|
||||
void dis_field_udh(tvbuff_t *tvb, packet_info* pinfo, proto_tree *tree, guint32 *offset, guint32 *length,
|
||||
guint8 *udl, enum character_set cset, guint8 *fill_bits, gsm_sms_udh_fields_t *p_udh_fields);
|
||||
|
||||
/* Data structure that can be optionally given to gsm_sms dissector */
|
||||
|
|
Loading…
Reference in New Issue