openl2tp: Remove -Werror. Fixes compile on 2.6.36
[openwrt/svn-archive/archive.git] / net / tcpdump / patches / 001-remove_pcap_debug.patch
1 --- a/tcpdump.c
2 +++ b/tcpdump.c
3 @@ -826,20 +826,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);