diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cache_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache_timer.c b/src/cache_timer.c index 6619c2c..44482b7 100644 --- a/src/cache_timer.c +++ b/src/cache_timer.c @@ -64,7 +64,7 @@ static int timer_dump(struct us_conntrack *u, void *data, char *buf, int type) return 0; gettimeofday(&tv, NULL); - timersub(&tv, &alarm->tv, &tmp); + timersub(&alarm->tv, &tv, &tmp); return sprintf(buf, " [expires in %lds]", tmp.tv_sec); } |