diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-08-25 22:20:03 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-08-25 22:20:03 +0000 |
commit | 8904b3b217f81af159e84bb01de15938bcdc7ce1 (patch) | |
tree | 390ba55850bf10fb15bea04467d178d53e6d713a /ethereal.c | |
parent | 27e81cb483bd29b6760256ca93ab601264ccc2a8 (diff) | |
download | wireshark-8904b3b217f81af159e84bb01de15938bcdc7ce1.tar.gz wireshark-8904b3b217f81af159e84bb01de15938bcdc7ce1.tar.bz2 wireshark-8904b3b217f81af159e84bb01de15938bcdc7ce1.zip |
Reverted TCP follow back to old behavior of leaving list of packets in
filtered state. The display filter text entry widget is left in its
original state, so an ENTER can reset the packet list. The manpage has
been changed to mention this.
svn path=/trunk/; revision=580
Diffstat (limited to 'ethereal.c')
-rw-r--r-- | ethereal.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ethereal.c b/ethereal.c index 5a788d0d74..5fbbea6958 100644 --- a/ethereal.c +++ b/ethereal.c @@ -1,6 +1,6 @@ /* ethereal.c * - * $Id: ethereal.c,v 1.106 1999/08/25 03:22:46 guy Exp $ + * $Id: ethereal.c,v 1.107 1999/08/25 22:19:55 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -193,7 +193,6 @@ follow_stream_cb( GtkWidget *w, gpointer data ) { char filename1[128+1]; GtkWidget *streamwindow, *box, *text, *vscrollbar, *table; int tmp_fd; - gchar *old_dfilter; if( pi.ipproto == 6 ) { /* we got tcp so we can follow */ @@ -220,9 +219,6 @@ follow_stream_cb( GtkWidget *w, gpointer data ) { return; } - /* Save any display filter we currently have. */ - old_dfilter = cf.dfilter; - /* Create a new filter that matches all packets in the TCP stream, and set the display filter entry accordingly */ reset_tcp_reassembly(); @@ -303,11 +299,6 @@ follow_stream_cb( GtkWidget *w, gpointer data ) { unlink( filename1 ); data_out_file = NULL; gtk_widget_show( streamwindow ); - if( cf.dfilter != NULL ) { - g_free( cf.dfilter ); - } - cf.dfilter = old_dfilter; - filter_packets(&cf); } else { simple_dialog(ESD_TYPE_WARN, NULL, "Error following stream. Please make\n" |