]> The Tcpdump Group git mirrors - tcpdump/commitdiff
"dflag" is exported to libpcap if libpcap is compiled with BDEBUG, so we
authorguy <guy>
Sat, 31 Jan 2004 06:14:59 +0000 (06:14 +0000)
committerguy <guy>
Sat, 31 Jan 2004 06:14:59 +0000 (06:14 +0000)
make it non-static.

tcpdump.c

index 7e7f516c9b628c752182a0f3a306bcd8b4f0cfba..c7c4d1e268bd716c02ff3c862609c86726402e86 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -30,7 +30,7 @@ static const char copyright[] _U_ =
     "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
 The Regents of the University of California.  All rights reserved.\n";
 static const char rcsid[] _U_ =
     "@(#) Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000\n\
 The Regents of the University of California.  All rights reserved.\n";
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.229 2004-01-26 02:09:23 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/tcpdump.c,v 1.230 2004-01-31 06:14:59 guy Exp $ (LBL)";
 #endif
 
 /*
 #endif
 
 /*
@@ -75,7 +75,7 @@ extern int SIZE_BUF;
 #include "gmt2local.h"
 #include "pcap-missing.h"
 
 #include "gmt2local.h"
 #include "pcap-missing.h"
 
-static int dflag;              /* print filter code */
+int dflag;                     /* print filter code */
 int eflag;                     /* print ethernet header */
 int fflag;                     /* don't translate "foreign" IP address */
 static int Lflag;              /* list available data link types and exit */
 int eflag;                     /* print ethernet header */
 int fflag;                     /* don't translate "foreign" IP address */
 static int Lflag;              /* list available data link types and exit */