aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-09-15 05:32:49 +0000
committerGuy Harris <guy@alum.mit.edu>2000-09-15 05:32:49 +0000
commit00b4224ee0665561e4237e30caf3197c605201cf (patch)
tree76e449cda3b0a28bd8068623718c23dc64c36859 /capture.h
parentf30b84ce2321a6071a2d254953befc75b14e4b6b (diff)
Add a "-p" command-line option, and a checkbox in the "Capture
Preferences" dialog box, to control whether to put the interface in promiscuous mode or not; Debian bug #34376 asked for this. svn path=/trunk/; revision=2439
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/capture.h b/capture.h
index e941e8676b..0cecab4c23 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.22 2000/01/05 22:31:37 gerald Exp $
+ * $Id: capture.h,v 1.23 2000/09/15 05:32:19 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -31,6 +31,7 @@
/* Name we give to the child process when doing a "-S" capture. */
#define CHILD_NAME "ethereal-capture"
+extern int promisc_mode; /* capture in promiscuous mode */
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 quit_after_cap; /* Makes a "capture only mode". Implies -k */