aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-09-09 20:39:01 +0000
committerGuy Harris <guy@alum.mit.edu>2002-09-09 20:39:01 +0000
commit5e8ecbaf4650a35ee0c3e9240bbcedb7def95e2c (patch)
tree7000f7732a62713bbfe2090a8de2e9282043c196 /capture.h
parent49425de3968d29fc8af95f349aba0164a2989b77 (diff)
From Graeme Hewson:
Currently Ethereal sets and uses a default directory for reading and writing, but only in some places. This set of patches extends the setting of the default directory to the -w option as well as the -r option, and causes all file dialogs to use and set the default consistently. (I haven't changed the Preferences/Printing/File dialog, though, as that's a special case.) There's also a fix for a bug where Ethereal was issuing the message "Ring buffer requested, but capture isn't being saved to a permanent file" even though a file was specified with -w. There also appear to be some other cleanups in his patch. svn path=/trunk/; revision=6238
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/capture.h b/capture.h
index b90e04bbd5..a74d490603 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.32 2002/08/28 21:00:05 jmayer Exp $
+ * $Id: capture.h,v 1.33 2002/09/09 20:38:56 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -59,7 +59,7 @@ extern gboolean capture_child; /* if this is the child for "-S" */
/* Open a specified file, or create a temporary file, and start a capture
to the file in question. */
-void do_capture(char *capfile_name);
+void do_capture(const char *save_file);
/* Do the low-level work of a capture. */
int capture(gboolean *stats_known, struct pcap_stat *stats);