diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-09-23 07:20:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-09-23 07:20:20 +0000 |
commit | b2b8994f151b17971fbc57c2b70fb02eecefbfe1 (patch) | |
tree | fb0528417e2af5d6f50cc475e7ff1e5a345a3c3c /gtk/file_dlg.c | |
parent | 3aa6164cbafd596a2c347b5d772a639c59f57dd0 (diff) | |
download | wireshark-b2b8994f151b17971fbc57c2b70fb02eecefbfe1.tar.gz |
If we forcibly turn off "fork_mode" if the user doesn't enable "Update
list of packets in real time" in the "Capture/Start" dialog box,
"ethereal -F" won't work - you get your choice of non-forked capture or
"-S".
Don't have "fork_mode" track "sync_mode"; instead, in those places where
we check for "fork_mode", check for "sync_mode" as well.
svn path=/trunk/; revision=711
Diffstat (limited to 'gtk/file_dlg.c')
-rw-r--r-- | gtk/file_dlg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/file_dlg.c b/gtk/file_dlg.c index c7dbdf4ac4..72c3a9ab70 100644 --- a/gtk/file_dlg.c +++ b/gtk/file_dlg.c @@ -1,7 +1,7 @@ /* file_dlg.c * Dialog boxes for handling files * - * $Id: file_dlg.c,v 1.3 1999/09/09 04:25:49 guy Exp $ + * $Id: file_dlg.c,v 1.4 1999/09/23 07:20:20 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -105,9 +105,9 @@ file_open_cmd_cb(GtkWidget *w, gpointer data) { gtk_widget_destroy, GTK_OBJECT (file_sel)); #ifdef HAVE_LIBPCAP - if( fork_mode && (cf.save_file != NULL) ) + if ((sync_mode || fork_mode) && (cf.save_file != NULL)) #else - if( cf.save_file != NULL ) + if (cf.save_file != NULL) #endif gtk_file_selection_set_filename(GTK_FILE_SELECTION(file_sel), cf.save_file); else |