diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-08-24 22:34:32 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-08-24 22:34:32 +0000 |
commit | 7540493b2075aac13761e44c6c47797897140418 (patch) | |
tree | 5fc24ec9a0728da66185d6c000f1e194d38c2b9b /gtk/endpoint_talkers_tcpip.c | |
parent | 5d678857de6a45dbb9afba548c22e3b87bba3f0b (diff) |
Get rid of the wrappers around "address_to_str()".
svn path=/trunk/; revision=8245
Diffstat (limited to 'gtk/endpoint_talkers_tcpip.c')
-rw-r--r-- | gtk/endpoint_talkers_tcpip.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/gtk/endpoint_talkers_tcpip.c b/gtk/endpoint_talkers_tcpip.c index 985b2e9bad..66cd51ed15 100644 --- a/gtk/endpoint_talkers_tcpip.c +++ b/gtk/endpoint_talkers_tcpip.c @@ -1,7 +1,7 @@ /* endpoint_talkers_tcpip.c * endpoint_talkers_tcpip 2003 Ronnie Sahlberg * - * $Id: endpoint_talkers_tcpip.c,v 1.4 2003/08/24 02:50:32 sahlberg Exp $ + * $Id: endpoint_talkers_tcpip.c,v 1.5 2003/08/24 22:34:31 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -67,13 +67,6 @@ win_destroy_cb(GtkWindow *win _U_, gpointer data) g_free(tcpip_talkers); } - -static char * -tcpip_address_to_str(address *addr) -{ - return address_to_str(addr); -} - static char * tcpip_port_to_str(guint32 port) { @@ -158,7 +151,7 @@ gtk_tcpip_talkers_init(char *optarg) /* We must display TOP LEVEL Widget before calling init_ett_table() */ gtk_widget_show(tcpip_talkers->win); - init_ett_table(&tcpip_talkers->talkers, vbox, tcpip_address_to_str, tcpip_port_to_str); + init_ett_table(&tcpip_talkers->talkers, vbox, address_to_str, tcpip_port_to_str); error_string=register_tap_listener("tcp", tcpip_talkers, filter, tcpip_talkers_reset, tcpip_talkers_packet, tcpip_talkers_draw); if(error_string){ |