From Ronnie Sahlberg: make the tap listeners for gtk and gtk2 redissect

the packet list immediately when the tap is started.

svn path=/trunk/; revision=6488
This commit is contained in:
Guy Harris 2002-10-23 23:17:26 +00:00
parent 6d8d731412
commit 3266b0bb14
4 changed files with 12 additions and 5 deletions

View File

@ -1,7 +1,7 @@
/* rpc_progs.c
* rpc_progs 2002 Ronnie Sahlberg
*
* $Id: rpc_progs.c,v 1.2 2002/10/23 23:12:36 guy Exp $
* $Id: rpc_progs.c,v 1.3 2002/10/23 23:17:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -37,6 +37,7 @@
#include "tap.h"
#include "rpc_progs.h"
#include "packet-rpc.h"
#include "../globals.h"
static GtkWidget *win=NULL;
static GtkWidget *table=NULL;
@ -371,5 +372,6 @@ gtk_rpcprogs_init(void)
gtk_widget_show_all(win);
redissect_packets(&cfile);
}

View File

@ -1,7 +1,7 @@
/* rpc_stat.c
* rpc_stat 2002 Ronnie Sahlberg
*
* $Id: rpc_stat.c,v 1.3 2002/10/23 23:12:36 guy Exp $
* $Id: rpc_stat.c,v 1.4 2002/10/23 23:17:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -38,7 +38,7 @@
#include "tap.h"
#include "rpc_stat.h"
#include "packet-rpc.h"
#include "../globals.h"
/* used to keep track of statistics for a specific procedure */
typedef struct _rpc_procedure_t {
@ -393,6 +393,7 @@ gtk_rpcstat_init(guint32 program, guint32 version, char *filter)
gtk_widget_show_all(rs->win);
redissect_packets(&cfile);
}

View File

@ -1,7 +1,7 @@
/* rpc_progs.c
* rpc_progs 2002 Ronnie Sahlberg
*
* $Id: rpc_progs.c,v 1.2 2002/10/23 23:12:38 guy Exp $
* $Id: rpc_progs.c,v 1.3 2002/10/23 23:17:25 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -37,6 +37,7 @@
#include "tap.h"
#include "rpc_progs.h"
#include "packet-rpc.h"
#include "../globals.h"
static GtkWidget *win=NULL;
static GtkWidget *table=NULL;
@ -371,5 +372,6 @@ gtk_rpcprogs_init(void)
gtk_widget_show_all(win);
redissect_packets(&cfile);
}

View File

@ -1,7 +1,7 @@
/* rpc_stat.c
* rpc_stat 2002 Ronnie Sahlberg
*
* $Id: rpc_stat.c,v 1.3 2002/10/23 23:12:38 guy Exp $
* $Id: rpc_stat.c,v 1.4 2002/10/23 23:17:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -38,6 +38,7 @@
#include "tap.h"
#include "rpc_stat.h"
#include "packet-rpc.h"
#include "../globals.h"
/* used to keep track of statistics for a specific procedure */
@ -393,6 +394,7 @@ gtk_rpcstat_init(guint32 program, guint32 version, char *filter)
gtk_widget_show_all(rs->win);
redissect_packets(&cfile);
}