X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/249d17725e4e9df5e411187585cd8f4a0f6e9219..7e201312d71b69e65dbba227a2ab2a6a49d28f42:/openwrt/package/tcpdump/patches/remove-pcap-debug.patch?ds=sidebyside diff --git a/openwrt/package/tcpdump/patches/remove-pcap-debug.patch b/openwrt/package/tcpdump/patches/remove-pcap-debug.patch index 7a0c9c3c2..d8993f057 100644 --- a/openwrt/package/tcpdump/patches/remove-pcap-debug.patch +++ b/openwrt/package/tcpdump/patches/remove-pcap-debug.patch @@ -1,8 +1,8 @@ -diff -urN tcpdump-3.8.3.old/tcpdump.c tcpdump-3.8.3.dev/tcpdump.c ---- tcpdump-3.8.3.old/tcpdump.c 2004-03-17 20:47:48.000000000 +0100 -+++ tcpdump-3.8.3.dev/tcpdump.c 2005-04-29 00:53:20.000000000 +0200 -@@ -596,20 +596,6 @@ - error("invalid data link type %s", dlt_name); +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) @@ -19,6 +19,6 @@ diff -urN tcpdump-3.8.3.old/tcpdump.c tcpdump-3.8.3.dev/tcpdump.c - } - break; -#endif - default: - usage(); - /* NOTREACHED */ + case 'Z': + if (optarg) { + username = strdup(optarg);