aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtpproxy.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-11-17 14:32:40 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-11-17 14:32:40 +0000
commit3ddf37e9309fc58dcc052401b641b962c1590a78 (patch)
tree392b3a844a22c2ec0d1339155cbeeae610a2642e /epan/dissectors/packet-rtpproxy.c
parent374683f05238b89f107fba2f66f3f7c7b7802b69 (diff)
From Peter Lemenkov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9440 :
RTPproxy: use proto_item_append_text instead of rewriting the entire item's text svn path=/trunk/; revision=53393
Diffstat (limited to 'epan/dissectors/packet-rtpproxy.c')
-rw-r--r--epan/dissectors/packet-rtpproxy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-rtpproxy.c b/epan/dissectors/packet-rtpproxy.c
index 46f5f0834b..b298897758 100644
--- a/epan/dissectors/packet-rtpproxy.c
+++ b/epan/dissectors/packet-rtpproxy.c
@@ -183,12 +183,12 @@ rtpptoxy_add_tag(proto_tree *rtpproxy_tree, tvbuff_t *tvb, guint begin, guint re
ti = proto_tree_add_item(rtpproxy_tree, hf_rtpproxy_tag, tvb, begin, end - begin, ENC_ASCII | ENC_NA);
another_tree = proto_item_add_subtree(ti, ett_rtpproxy_tag);
ti = proto_tree_add_item(another_tree, hf_rtpproxy_mediaid, tvb, new_offset+1, 0, ENC_ASCII | ENC_NA);
- proto_item_set_text(ti, "Media-ID: <skipped>");
+ proto_item_append_text(ti, "<skipped>");
}
else{
ti = proto_tree_add_item(rtpproxy_tree, hf_rtpproxy_tag, tvb, begin, new_offset - begin, ENC_ASCII | ENC_NA);
if (new_offset == begin)
- proto_item_set_text(ti, "Tag: <skipped>"); /* A very first Offer/Update command */
+ proto_item_append_text(ti, "<skipped>"); /* A very first Offer/Update command */
another_tree = proto_item_add_subtree(ti, ett_rtpproxy_tag);
proto_tree_add_item(another_tree, hf_rtpproxy_mediaid, tvb, new_offset+1, end - (new_offset+1), ENC_ASCII | ENC_NA);
}
@@ -244,7 +244,7 @@ rtpptoxy_add_notify_addr(proto_tree *rtpproxy_tree, tvbuff_t *tvb, guint begin,
if(new_offset == -1){
/* Only port is supplied */
ti = proto_tree_add_item(rtpproxy_tree, hf_rtpproxy_notify_ipv4, tvb, begin, 0, ENC_ASCII | ENC_NA);
- proto_item_set_text(ti, "Notification IPv4: <skipped>");
+ proto_item_append_text(ti, "<skipped>");
proto_tree_add_item(rtpproxy_tree, hf_rtpproxy_notify_port, tvb, begin, end - begin, ENC_ASCII | ENC_NA);
}
else{