port tcpdump to -ng.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4112 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
24
net/tcpdump/patches/remove-pcap-debug.patch
Normal file
24
net/tcpdump/patches/remove-pcap-debug.patch
Normal file
@ -0,0 +1,24 @@
|
||||
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);
|
Reference in New Issue
Block a user