RTSP: Dissector should create RTP conversation if only server port was negotiated

RTSP dissector now creates RTP conversation for UDP stream if
only server_port in RTP response is sent (which is legal option).

Bug: 14451
Change-Id: Id0ff0047a5708f45795440ae965c1ab67841b613
Reviewed-on: https://code.wireshark.org/review/26045
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Jiri Novak 2018-02-23 12:20:02 +01:00 committed by Anders Broman
parent 1248c658d1
commit 794b1e7569
1 changed files with 5 additions and 0 deletions

View File

@ -720,6 +720,11 @@ rtsp_create_conversation(packet_info *pinfo, proto_item *ti,
rtp_add_address(pinfo, PT_UDP, &dst_addr, c_data_port, s_data_port,
"RTSP", pinfo->num, is_video, NULL);
}
else if (s_data_port)
{
rtp_add_address(pinfo, PT_UDP, &src_addr, s_data_port, 0,
"RTSP", pinfo->num, is_video, NULL);
}
/* RTCP only if indicated */
if (c_mon_port)