diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-04-03 00:52:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-04-03 00:52:59 +0000 |
commit | 2de9620eeadd26a791264ccc813d53243d1ba506 (patch) | |
tree | f76f0d90e1ae04aa8ea52f306ac85abcfdbed539 /gtk/capture_dlg.c | |
parent | 2376539aabf32cf1b61f3c9f53342467674f84b6 (diff) | |
download | wireshark-2de9620eeadd26a791264ccc813d53243d1ba506.tar.gz wireshark-2de9620eeadd26a791264ccc813d53243d1ba506.tar.bz2 wireshark-2de9620eeadd26a791264ccc813d53243d1ba506.zip |
In Tethereal, don't save to a temporary file if "-w" isn't specified,
even if doing a live capture; just print the packets without saving
them.
In dumpcap:
default to the capturing the entire packet;
don't do the "Press any key" stuff when debugging on UN*X;
do console logging (to the standard error) even when we're
running as the capture child (the sync pipe should only be the
standard output, not the standard error).
svn path=/trunk/; revision=17786
Diffstat (limited to 'gtk/capture_dlg.c')
-rw-r--r-- | gtk/capture_dlg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c index 708c85bf16..7622752c8b 100644 --- a/gtk/capture_dlg.c +++ b/gtk/capture_dlg.c @@ -1398,6 +1398,8 @@ capture_dlg_prep(gpointer parent_w) { g_assert(filter_text != NULL); capture_opts->cfilter = g_strdup(filter_text); + /* Ethereal always saves to a capture file. */ + capture_opts->save_file = TRUE; g_save_file = gtk_entry_get_text(GTK_ENTRY(file_te)); if (g_save_file && g_save_file[0]) { /* User specified a file to which the capture should be written. */ |