aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-10-02 20:00:46 +0000
committerGuy Harris <guy@alum.mit.edu>1999-10-02 20:00:46 +0000
commit79ec5a3ba92e47d6d188c6ef98c47047149d0100 (patch)
tree4ba3160d4929a538076ec9bd2c55c7ec3e62a002 /capture.h
parent37aa82160348e03516781bd0dd252cee3362fb0a (diff)
Get rid of "-F" - "-S" works, and has a more convenient UI.
Print a usage message if an illegal command-line flag is seen. Clean up the usage message a bit. svn path=/trunk/; revision=755
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/capture.h b/capture.h
index 598d30cf6f..c4f0c5bcfa 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.20 1999/10/02 19:24:19 guy Exp $
+ * $Id: capture.h,v 1.21 1999/10/02 19:57:24 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -28,14 +28,13 @@
#ifdef HAVE_LIBPCAP
-/* Name we give to the child process when doing a "-S" or "-F" capture. */
+/* Name we give to the child process when doing a "-S" capture. */
#define CHILD_NAME "ethereal-capture"
-extern int sync_mode; /* allow sync */
+extern int sync_mode; /* fork a child to do the capture, and sync between them */
extern int sync_pipe[2]; /* used to sync father */
-extern int fork_mode; /* fork a child to do the capture */
extern int quit_after_cap; /* Makes a "capture only mode". Implies -k */
-extern gboolean capture_child; /* if this is the child for "-F"/"-S" */
+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. */