diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-02-22 18:47:04 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-02-22 18:47:04 +0000 |
commit | cdebea69ce9b3b10abcd155b8b2848a259341f26 (patch) | |
tree | c7e7f96441b0283c58a72b746e23d39c78f7e6a8 /gtk/endpoint_talkers_udpip.c | |
parent | 26a84495c8663a9ae55b2c84a8c716edb211b0f6 (diff) |
Redesigned the menu structure of the former statistics stuff,
now sorted by ISO-layer, than alphabetically (now longer by functionality).
Seperated the tap registering from the actual menu making stuff,
so the seperate step of registering the tap and the menu is no longer needed.
Removed all things related to this double registering.
svn path=/trunk/; revision=10180
Diffstat (limited to 'gtk/endpoint_talkers_udpip.c')
-rw-r--r-- | gtk/endpoint_talkers_udpip.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/gtk/endpoint_talkers_udpip.c b/gtk/endpoint_talkers_udpip.c index 5140326a10..9507d257fa 100644 --- a/gtk/endpoint_talkers_udpip.c +++ b/gtk/endpoint_talkers_udpip.c @@ -1,7 +1,7 @@ /* endpoint_talkers_udpip.c * endpoint_talkers_udpip 2003 Ronnie Sahlberg * - * $Id: endpoint_talkers_udpip.c,v 1.24 2004/02/11 04:28:48 guy Exp $ + * $Id: endpoint_talkers_udpip.c,v 1.25 2004/02/22 18:44:01 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -77,18 +77,11 @@ gtk_udpip_endpoints_cb(GtkWidget *w _U_, gpointer d _U_) void -register_tap_menu_udpip_talkers(void) -{ - register_tap_menu_item("_Statistics/Conversation List/UDP (IPv4 IPv6)", - gtk_udpip_endpoints_cb, NULL, NULL, NULL); -} - - - - -void register_tap_listener_udpip_talkers(void) { register_ethereal_tap("conv,udp", gtk_udpip_talkers_init); + + register_tap_menu_item("UDP/Conversation List (IPv4 & IPv6)", REGISTER_TAP_LAYER_TRANSPORT, + gtk_udpip_endpoints_cb, NULL, NULL, NULL); } |