Skip to content

Commit

Permalink
patches/tcpdump: add missing drop-verbose-default-output patch
Browse files Browse the repository at this point in the history
Lost in the big summer merge of 2023

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
  • Loading branch information
troglobit committed Aug 22, 2023
1 parent efabc98 commit 32ffed5
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions patches/tcpdump/silence.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff -ruN tcpdump-4.99.4.orig/tcpdump.c tcpdump-4.99.4/tcpdump.c
--- tcpdump-4.99.4.orig/tcpdump.c 2023-04-07 20:30:58.000000000 +0200
+++ tcpdump-4.99.4/tcpdump.c 2023-07-17 18:08:51.322519509 +0200
@@ -2535,12 +2535,7 @@
* to a file from the -V file). Print a message to
* the standard error on UN*X.
*/
- if (!ndo->ndo_vflag && !WFileName) {
- (void)fprintf(stderr,
- "%s: verbose output suppressed, use -v[v]... for full protocol decode\n",
- program_name);
- } else
- (void)fprintf(stderr, "%s: ", program_name);
+ (void)fprintf(stderr, "%s: ", program_name);
dlt = pcap_datalink(pd);
dlt_name = pcap_datalink_val_to_name(dlt);
(void)fprintf(stderr, "listening on %s", device);

0 comments on commit 32ffed5

Please sign in to comment.