From Ronnie Sahlberg: make the tap listeners for gtk and gtk2 redissect
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 23 Oct 2002 23:17:26 +0000 (23:17 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 23 Oct 2002 23:17:26 +0000 (23:17 +0000)
the packet list immediately when the tap is started.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6488 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/rpc_progs.c
gtk/rpc_stat.c
gtk2/rpc_progs.c
gtk2/rpc_stat.c

index d101191bbab643627d2734f5035cbfdf2db9c34c..0dd360d9b3a019651a4e1c8fb38b18e94677aa83 100644 (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);
 }
 
index 2a4b209ba95269e35c37eda7545c42eae1a43505..5b756a0245d93e055493d6eee724c0e339186b54 100644 (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);
 }
 
 
index dc4479e673b1f0f921b3bd64aac714f8e44e0056..0aaa564ef97a75794e8998d549bf35e69ebdd07e 100644 (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);
 }
 
index 9c63bfa88724b0864f42a9690c35f154470a1e9e..b6df67720e3039218bc47d47c1f7da81aa35d5b0 100644 (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);
 }