diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-11-17 14:14:41 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-11-17 14:14:41 +0000 |
commit | c25fab0718f9ef45775a46b929907c3da491e6c6 (patch) | |
tree | ae17f1d18d56308cd39f6d175139a53f50bf25aa | |
parent | 35b782401e7ff36e9652ce5ea2d23e02865c3ddc (diff) | |
download | wireshark-c25fab0718f9ef45775a46b929907c3da491e6c6.tar.gz |
From Peter Lemenkov via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9430 :
Fix empty ToTag in RTPproxy's Offer/Update command
svn path=/trunk/; revision=53391
-rw-r--r-- | epan/dissectors/packet-rtpproxy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-rtpproxy.c b/epan/dissectors/packet-rtpproxy.c index bdd9a04c9b..46f5f0834b 100644 --- a/epan/dissectors/packet-rtpproxy.c +++ b/epan/dissectors/packet-rtpproxy.c @@ -187,6 +187,8 @@ rtpptoxy_add_tag(proto_tree *rtpproxy_tree, tvbuff_t *tvb, guint begin, guint re } 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 */ 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); } |