summaryrefslogtreecommitdiffstats
path: root/package/network/utils/tcpdump/patches/001-remove_pcap_debug.patch
blob: 14d1b84e76cd855928d29a36c284a6d8b7e35ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -982,20 +982,6 @@ main(int argc, char **argv)
 				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) {
 				zflag = strdup(optarg);