aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtsp.c
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-22 17:51:48 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-22 17:51:48 +0000
commit0b83337ca6330aa63ea3ac5604be732c43862a75 (patch)
tree2656bbde23338a2d77bb80fb288241b9d1e104fb /epan/dissectors/packet-rtsp.c
parent6b06e2b149dc20a5a176f5fb96da8a1d92da1861 (diff)
Fix warning about using wrong enum that is probably causing an actual
bug: whenever call_state is assigned to VOIP_CALL_SETUP in other parts of Wireshark code (such as gtk/voip_calls.c), then call_active_state is set to VOIP_ACTIVE. Do that here too. It was set to VOIP_NO_STATE (from the wrong enum), which would have likely resulted in the wrong value being assigned. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36824 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-rtsp.c')
-rw-r--r--epan/dissectors/packet-rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rtsp.c b/epan/dissectors/packet-rtsp.c
index 0161a4ac1f..a285744112 100644
--- a/epan/dissectors/packet-rtsp.c
+++ b/epan/dissectors/packet-rtsp.c
@@ -983,7 +983,7 @@ dissect_rtspmessage(tvbuff_t *tvb, int offset, packet_info *pinfo,
stat_info->call_id = session_id;
stat_info->frame_label = frame_label;
stat_info->call_state = VOIP_CALL_SETUP;
- stat_info->call_active_state = VOIP_NO_STATE;
+ stat_info->call_active_state = VOIP_ACTIVE;
stat_info->frame_comment = frame_label;
tap_queue_packet(voip_tap, pinfo, stat_info);
}