Set an initial (blank) filter to get around the peculiarities in RH
6.1's libpcap. svn path=/trunk/; revision=1476
This commit is contained in:
parent
a18345ca23
commit
62207b4d85
|
@ -1,6 +1,6 @@
|
||||||
/* tethereal.c
|
/* 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
|
* Ethereal - Network traffic analyzer
|
||||||
* By Gerald Combs <gerald@zing.org>
|
* By Gerald Combs <gerald@zing.org>
|
||||||
|
@ -182,7 +182,7 @@ main(int argc, char *argv[])
|
||||||
cf.dfilter = NULL;
|
cf.dfilter = NULL;
|
||||||
cf.dfcode = NULL;
|
cf.dfcode = NULL;
|
||||||
#ifdef HAVE_LIBPCAP
|
#ifdef HAVE_LIBPCAP
|
||||||
cf.cfilter = NULL;
|
cf.cfilter = g_strdup("");
|
||||||
#endif
|
#endif
|
||||||
cf.iface = NULL;
|
cf.iface = NULL;
|
||||||
cf.save_file = NULL;
|
cf.save_file = NULL;
|
||||||
|
|
Loading…
Reference in New Issue