summaryrefslogtreecommitdiffstats
path: root/openwrt/package/tcpdump/patches/remove-pcap-debug.patch
blob: d8993f057aaa32401151d024ab54363a066e8e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -urN tcpdump-3.9.4.orig/tcpdump.c tcpdump-3.9.4/tcpdump.c
--- tcpdump-3.9.4.orig/tcpdump.c	2005-08-23 12:29:41.000000000 +0200
+++ tcpdump-3.9.4/tcpdump.c	2006-02-05 17:52:37.000000000 +0100
@@ -762,20 +762,6 @@
 				error("invalid data link type %s", gndo->ndo_dltname);
 			break;
 
-#if defined(HAVE_PCAP_DEBUG) || defined(HAVE_YYDEBUG)
-		case 'Y':
-			{
-			/* Undocumented flag */
-#ifdef HAVE_PCAP_DEBUG
-			extern int pcap_debug;
-			pcap_debug = 1;
-#else
-			extern int yydebug;
-			yydebug = 1;
-#endif
-			}
-			break;
-#endif
 		case 'Z':
 			if (optarg) {
 				username = strdup(optarg);