Fixed datagram statistics output (skipped datagrams).
authorFlorian Pose <fp@igh-essen.com>
Fri, 08 Jul 2011 14:23:22 +0200
changeset 2077 e8f690838311
parent 2051 3a066ec73fb2
child 2078 c9d32805d984
Fixed datagram statistics output (skipped datagrams).
master/datagram.c
--- a/master/datagram.c	Tue Jan 18 16:45:26 2011 +0100
+++ b/master/datagram.c	Fri Jul 08 14:23:22 2011 +0200
@@ -562,7 +562,7 @@
         ec_datagram_t *datagram
         )
 {
-    if (jiffies - datagram->stats_output_jiffies < HZ) {
+    if (jiffies - datagram->stats_output_jiffies > HZ) {
         datagram->stats_output_jiffies = jiffies;
     
         if (unlikely(datagram->skip_count)) {