projects
/
darkstat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a152e5
)
Don't require --verbose for pcap_stats.
author
Emil Mikulic
<emikulic@gmail.com>
Wed, 10 Dec 2008 10:59:50 +0000
(21:59 +1100)
committer
Emil Mikulic
<emikulic@gmail.com>
Fri, 24 Apr 2009 11:40:23 +0000
(21:40 +1000)
How embarassing. And it didn't get picked up during testing.
Noticed by: Dennis Jansen
cap.c
patch
|
blob
|
history
diff --git
a/cap.c
b/cap.c
index
1fc8def
..
b39b1c4
100644
(file)
--- a/
cap.c
+++ b/
cap.c
@@
-201,8
+201,6
@@
cap_stats_update(void)
{
struct pcap_stat ps;
- if (!want_verbose) return;
-
if (pcap_stats(pcap, &ps) != 0) {
warnx("pcap_stats(): %s", pcap_geterr(pcap));
return;