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.


svn path=/trunk/; revision=36824
This commit is contained in:
Stephen Fisher 2011-04-22 17:51:48 +00:00
parent 2ff1e353c8
commit 939731ee8e

View file

@ -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);
}