Openwrt/openwrt/package/tcpdump/patches/remove-pcap-debug.patch
Florian Fainelli 2576ba4795 Updated libpcap to 0.9.4, tcpdump to 3.9.4
SVN-Revision: 3139
2006-02-05 17:30:49 +00:00

25 lines
607 B
Diff

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);