aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2000-01-05 22:31:46 +0000
committerGerald Combs <gerald@wireshark.org>2000-01-05 22:31:46 +0000
commit5b8384f5e11fe3a6f7873f7d06e0f7e7e7ac0a3a (patch)
treed11def6b881fe2e8582a207d593df0578ed47aef /capture.h
parentb9343202d7bf867a4b9dbe7095c09f71c50994e3 (diff)
When initializing a capture filter, assign a pointer to an empty string
instead of NULL. svn path=/trunk/; revision=1422
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/capture.h b/capture.h
index c4f0c5bcfa..e941e8676b 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.21 1999/10/02 19:57:24 guy Exp $
+ * $Id: capture.h,v 1.22 2000/01/05 22:31:37 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -44,4 +44,6 @@ void do_capture(char *capfile_name);
int capture(void);
#endif /* HAVE_LIBPCAP */
+
+#define EMPTY_FILTER ""
#endif /* capture.h */