diff options
author | AndersBroman <a.broman58@gmail.com> | 2022-11-15 16:23:52 +0100 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2022-11-16 08:15:39 +0000 |
commit | 1e5f909617632f8da085bd4c35e2cb09bfb19038 (patch) | |
tree | 4aebd4072d070ab0a895777a1f862dd9022fd73d | |
parent | 5396eeb57817803b7663efcf44ef965f2a7c60a6 (diff) |
RTPProxy: Remove newlines from col info.
-rw-r--r-- | epan/dissectors/packet-rtpproxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rtpproxy.c b/epan/dissectors/packet-rtpproxy.c index 051ac035e1..e1107ba7c5 100644 --- a/epan/dissectors/packet-rtpproxy.c +++ b/epan/dissectors/packet-rtpproxy.c @@ -603,7 +603,7 @@ dissect_rtpproxy(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data } /* Get payload string */ - rawstr = tvb_format_text(pinfo->pool, tvb, offset, realsize - offset); + rawstr = tvb_format_text_wsp(pinfo->pool, tvb, offset, realsize - offset); /* Extract command */ tmp = g_ascii_tolower(tvb_get_guint8(tvb, offset)); @@ -615,7 +615,7 @@ dissect_rtpproxy(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data /* FIXME https://github.com/sippy/rtpproxy/wiki/RTPP-%28RTPproxy-protocol%29-technical-specification#information */ rtpproxy_add_tid(FALSE, tvb, pinfo, rtpproxy_tree, rtpproxy_conv, cookie); if ('e' == tvb_get_guint8(tvb, offset+1)){ - col_add_fstr(pinfo->cinfo, COL_INFO, "Reply: %s", format_text_wsp(pinfo->pool, rawstr, realsize - offset)); + col_add_fstr(pinfo->cinfo, COL_INFO, "Reply: %s", rawstr); ti = proto_tree_add_item(rtpproxy_tree, hf_rtpproxy_reply, tvb, offset, -1, ENC_NA); rtpproxy_tree = proto_item_add_subtree(ti, ett_rtpproxy_reply); |