aboutsummaryrefslogtreecommitdiffstats
path: root/globals.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-01-10 11:05:50 +0000
committerGuy Harris <guy@alum.mit.edu>2002-01-10 11:05:50 +0000
commitb3f81eb30c175bb4aeabb2a780c1914222ccb5be (patch)
treea5f7774c2c5e05f8cfe36d17bb0bd014a57d52f4 /globals.h
parentd663cdb4a1a478d23bd92e8143ddd84df61bd553 (diff)
Separate the promiscuous mode, "Update list of packets in real time",
and "Automatic scrolling in live capture" options from the preference settings for them, so that the preference settings affect the initial values of those options, but changing those values in a capture don't affect the preferences, and don't automatically get saved when you save the preferences. If we're building without libpcap, don't have an "Automatic scrolling in live capture" option anywhere. svn path=/trunk/; revision=4514
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/globals.h b/globals.h
index 5bb3dd4..94b37fd 100644
--- a/globals.h
+++ b/globals.h
@@ -1,7 +1,7 @@
/* globals.h
* Global defines, etc.
*
- * $Id: globals.h,v 1.26 2001/06/05 07:38:33 guy Exp $
+ * $Id: globals.h,v 1.27 2002/01/10 11:05:48 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -34,6 +34,9 @@
extern capture_file cfile;
extern gchar *ethereal_path;
extern gchar *last_open_dir;
+#ifdef HAVE_LIBPCAP
+extern gboolean auto_scroll_live;
+#endif
extern field_info *finfo_selected;
extern ts_type timestamp_type;