aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/conversations_tcpip.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-04-01 09:08:27 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-04-01 09:08:27 +0000
commit6a33606bd0b861b08d08ca62ccee8dc85640c4fc (patch)
treef40c994e197238fcb60ea9206222296805d55dfb /gtk/conversations_tcpip.c
parentcb4ac46b1d418cefdfe6fa7e13dc398b9e58b296 (diff)
Rename "register_ethereal_tap()" to "register_tap_listener_cmd_arg()" as
it's used to register a callback for a tap listener invoked if the specified command line argument is specified to the "-z" flag. Move it, along with routines to: look up a "-z" argument in the table constructed by "register_tap_listener_cmd_arg()" and either save the full argument to "-z" and the corresponding listener if it's found or return a failure indication if it isn't; list the available tap listeners; call the "init" routines for the tap listeners saved in the table above; and have Ethereal and Tethereal use those routines. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13993 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/conversations_tcpip.c')
-rw-r--r--gtk/conversations_tcpip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/conversations_tcpip.c b/gtk/conversations_tcpip.c
index 4e85e08964..7500e65fb1 100644
--- a/gtk/conversations_tcpip.c
+++ b/gtk/conversations_tcpip.c
@@ -78,7 +78,7 @@ tcpip_conversation_cb(GtkWidget *w _U_, gpointer d _U_)
void
register_tap_listener_tcpip_conversation(void)
{
- register_ethereal_tap("conv,tcp", tcpip_conversation_init);
+ register_tap_listener_cmd_arg("conv,tcp", tcpip_conversation_init);
register_tap_menu_item("TCP (IPv4 & IPv6)", REGISTER_TAP_GROUP_CONVERSATION_LIST,
tcpip_conversation_cb, NULL, NULL, NULL);