diff options
author | mlaier <mlaier@FreeBSD.org> | 2007-11-21 12:52:26 +0000 |
---|---|---|
committer | mlaier <mlaier@FreeBSD.org> | 2007-11-21 12:52:26 +0000 |
commit | 7c3417c9894e369a2840b6f7bb5e393a7fe55380 (patch) | |
tree | 598b7ed1cfb017b0b2042e823b24cc3da5a31908 /contrib | |
parent | ced990878564967133b97facf54d88cd8eec56fe (diff) | |
download | FreeBSD-src-7c3417c9894e369a2840b6f7bb5e393a7fe55380.zip FreeBSD-src-7c3417c9894e369a2840b6f7bb5e393a7fe55380.tar.gz |
Avoid excessive error message printout.
PR: bin/118150
Reported by: keramida
MFC after: 3 days
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/tcpdump/tcpdump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/tcpdump/tcpdump.c b/contrib/tcpdump/tcpdump.c index 69fa694..e45ab23 100644 --- a/contrib/tcpdump/tcpdump.c +++ b/contrib/tcpdump/tcpdump.c @@ -1132,6 +1132,7 @@ info(register int verbose) if (pcap_stats(pd, &stat) < 0) { (void)fprintf(stderr, "pcap_stats: %s\n", pcap_geterr(pd)); + infoprint = 0; return; } |