1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-20 16:35:27 +03:00
openwrt-xburst/openwrt/package/tcpdump/patches/remove-pcap-debug.patch
florian 732d131e00 Updated libpcap to 0.9.4, tcpdump to 3.9.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3139 3c298f89-4303-0410-b956-a3cf2f4a3e73
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);