aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/tcpdump/patches/001-remove_pcap_debug.patch
blob: d2c724d509c0b53c702a930a01ff0b5bc5712990 (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
@@ -1095,20 +1095,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);