Skip to content
Snippets Groups Projects
Commit aa139574 authored by Florian Pose's avatar Florian Pose
Browse files

Fixed datagram statistics output (skipped datagrams).

--HG--
branch : stable-1.5
parent 85cdfc95
No related branches found
No related tags found
No related merge requests found
/******************************************************************************
*
* $Id$
* $Id: datagram.c,v 74e6ac2369f4 2010/02/23 14:13:56 fp $
*
* Copyright (C) 2006-2008 Florian Pose, Ingenieurgemeinschaft IgH
*
......@@ -562,7 +562,7 @@ void ec_datagram_output_stats(
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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment