aboutsummaryrefslogtreecommitdiffstats
path: root/gtk2
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-10-23 23:17:26 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-10-23 23:17:26 +0000
commit339bcd0f0477b3609e6db22af8b68c5c6e34b55b (patch)
tree5fbafb602f57ed762eb9f53b77ffd8ed2c168971 /gtk2
parent00c6d5b1726f3391b0c4c7b14188157e6ca38a6f (diff)
From Ronnie Sahlberg: make the tap listeners for gtk and gtk2 redissect
the packet list immediately when the tap is started. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6488 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk2')
-rw-r--r--gtk2/rpc_progs.c4
-rw-r--r--gtk2/rpc_stat.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gtk2/rpc_progs.c b/gtk2/rpc_progs.c
index dc4479e673..0aaa564ef9 100644
--- a/gtk2/rpc_progs.c
+++ b/gtk2/rpc_progs.c
@@ -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);
}
diff --git a/gtk2/rpc_stat.c b/gtk2/rpc_stat.c
index 9c63bfa887..b6df67720e 100644
--- a/gtk2/rpc_stat.c
+++ b/gtk2/rpc_stat.c
@@ -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);
}