diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-04-01 09:08:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-04-01 09:08:27 +0000 |
commit | 80c1907a3650bd7ce3486deaf8bfe03998cc53cf (patch) | |
tree | f40c994e197238fcb60ea9206222296805d55dfb /gtk/hostlist_wlan.c | |
parent | 0f8018692fed4def8c299c3c6485c416c986e717 (diff) | |
download | wireshark-80c1907a3650bd7ce3486deaf8bfe03998cc53cf.tar.gz |
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.
svn path=/trunk/; revision=13993
Diffstat (limited to 'gtk/hostlist_wlan.c')
-rw-r--r-- | gtk/hostlist_wlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/hostlist_wlan.c b/gtk/hostlist_wlan.c index 00034c5863..07de604544 100644 --- a/gtk/hostlist_wlan.c +++ b/gtk/hostlist_wlan.c @@ -81,7 +81,7 @@ gtk_wlan_hostlist_cb(GtkWidget *w _U_, gpointer d _U_) void register_tap_listener_wlan_hostlist(void) { - register_ethereal_tap("hosts,wlan", gtk_wlan_hostlist_init); + register_tap_listener_cmd_arg("hosts,wlan", gtk_wlan_hostlist_init); register_tap_menu_item("WLAN", REGISTER_TAP_GROUP_ENDPOINT_LIST, gtk_wlan_hostlist_cb, NULL, NULL, NULL); |