First git repo commit for the libreCMC project
[librecmc/librecmc.git] / package / network / utils / tcpdump / patches / 001-remove_pcap_debug.patch
1 --- a/tcpdump.c
2 +++ b/tcpdump.c
3 @@ -1095,20 +1095,6 @@ main(int argc, char **argv)
4                                 error("invalid data link type %s", gndo->ndo_dltname);
5                         break;
6  
7 -#if defined(HAVE_PCAP_DEBUG) || defined(HAVE_YYDEBUG)
8 -               case 'Y':
9 -                       {
10 -                       /* Undocumented flag */
11 -#ifdef HAVE_PCAP_DEBUG
12 -                       extern int pcap_debug;
13 -                       pcap_debug = 1;
14 -#else
15 -                       extern int yydebug;
16 -                       yydebug = 1;
17 -#endif
18 -                       }
19 -                       break;
20 -#endif
21                 case 'z':
22                         if (optarg) {
23                                 zflag = strdup(optarg);