diff options
author | Gerald Combs <gerald@wireshark.org> | 2000-01-14 19:05:30 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2000-01-14 19:05:30 +0000 |
commit | 62207b4d85b9d97c3940e4cb02319e5bad0bd167 (patch) | |
tree | 5282b5c5044885346e4407ad1c219e971bf57b16 /tethereal.c | |
parent | a18345ca2382685f8fee055bcf093e59f032fd4d (diff) | |
download | wireshark-62207b4d85b9d97c3940e4cb02319e5bad0bd167.tar.gz wireshark-62207b4d85b9d97c3940e4cb02319e5bad0bd167.tar.bz2 wireshark-62207b4d85b9d97c3940e4cb02319e5bad0bd167.zip |
Set an initial (blank) filter to get around the peculiarities in RH
6.1's libpcap.
svn path=/trunk/; revision=1476
Diffstat (limited to 'tethereal.c')
-rw-r--r-- | tethereal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tethereal.c b/tethereal.c index 8111580f29..3721d165b6 100644 --- a/tethereal.c +++ b/tethereal.c @@ -1,6 +1,6 @@ /* tethereal.c * - * $Id: tethereal.c,v 1.2 2000/01/14 14:21:50 gram Exp $ + * $Id: tethereal.c,v 1.3 2000/01/14 19:05:30 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -182,7 +182,7 @@ main(int argc, char *argv[]) cf.dfilter = NULL; cf.dfcode = NULL; #ifdef HAVE_LIBPCAP - cf.cfilter = NULL; + cf.cfilter = g_strdup(""); #endif cf.iface = NULL; cf.save_file = NULL; |