diff options
author | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-09-01 12:39:29 +0000 |
---|---|---|
committer | etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-09-01 12:39:29 +0000 |
commit | c701744b8e8d3e9a4753f61cf8924b00852fd297 (patch) | |
tree | 6d3c85b00a48cb5de9eaa9be49a677f8966bdcf1 /gtk/voip_calls.c | |
parent | 4e0695258526fab102f8e96185658fc64f90098a (diff) |
From Jaap Keuter:
Fix Wireshark don't show mgcp calls in "Telephony" => "VoIP calls"
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5167
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34036 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/voip_calls.c')
-rw-r--r-- | gtk/voip_calls.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c index 2b758a3774..a5ec8be7bd 100644 --- a/gtk/voip_calls.c +++ b/gtk/voip_calls.c @@ -2564,8 +2564,10 @@ mgcp_calls_init_tap(void) { /* don't register tap listener, if we have it already */ /* we send an empty filter, to force a non null "tree" in the mgcp dissector */ - error_string = register_tap_listener("mgcp", &(the_tapinfo_struct.mgcp_dummy), g_strdup(""), - 0, + error_string = register_tap_listener("mgcp", + &(the_tapinfo_struct.mgcp_dummy), + NULL, + TL_REQUIRES_PROTO_TREE, voip_calls_dlg_reset, MGCPcalls_packet, voip_calls_dlg_draw @@ -3721,8 +3723,10 @@ skinny_calls_init_tap(void) { /* don't register tap listener, if we have it already */ /* we send an empty filter, to force a non null "tree" in the SKINNY dissector */ - error_string = register_tap_listener("skinny", &(the_tapinfo_struct.skinny_dummy), g_strdup(""), - 0, + error_string = register_tap_listener("skinny", + &(the_tapinfo_struct.skinny_dummy), + NULL, + TL_REQUIRES_PROTO_TREE, voip_calls_dlg_reset, skinny_calls_packet, voip_calls_dlg_draw @@ -3901,8 +3905,10 @@ iax2_calls_init_tap(void) { /* don't register tap listener, if we have it already */ /* we send an empty filter, to force a non null "tree" in the IAX2 dissector */ - error_string = register_tap_listener("IAX2", &(the_tapinfo_struct.iax2_dummy), g_strdup(""), - 0, + error_string = register_tap_listener("IAX2", + &(the_tapinfo_struct.iax2_dummy), + NULL, + TL_REQUIRES_PROTO_TREE, voip_calls_dlg_reset, iax2_calls_packet, voip_calls_dlg_draw |