forked from osmocom/wireshark
Please checkAPI.pl
Change-Id: I78e9d3781df81fd4edda7e9b20749cb096a05499 Reviewed-on: https://code.wireshark.org/review/861 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
parent
c39060a21c
commit
7785dd00cd
|
@ -2096,10 +2096,10 @@ static void dissect_sip_via_header(tvbuff_t *tvb, proto_tree *tree, gint start_o
|
|||
if (current_offset > port_offset)
|
||||
{
|
||||
/* Add address port number to tree */
|
||||
int port = atoi(tvb_get_string_enc(wmem_packet_scope(), tvb, port_offset,
|
||||
current_offset - port_offset, ENC_UTF_8));
|
||||
proto_tree_add_uint(tree, hf_sip_via_sent_by_port, tvb, port_offset,
|
||||
current_offset - port_offset,
|
||||
atoi(tvb_get_string_enc(wmem_packet_scope(), tvb, port_offset,
|
||||
current_offset - port_offset, ENC_UTF_8)));
|
||||
current_offset - port_offset, port);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue