forked from osmocom/wireshark
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:
parent
2ff1e353c8
commit
939731ee8e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue