From 7c3a0f3a090339ac22e2ace55eab03575f708273 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 17 Aug 1999 17:51:32 +0000 Subject: Changes from the road. svn path=/trunk/; revision=2540 --- interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interface.c') diff --git a/interface.c b/interface.c index a062f5dc..936b5bf9 100644 --- a/interface.c +++ b/interface.c @@ -488,7 +488,7 @@ int interface_approve(struct hostdata *hp) * (c) newpacket count is greater than the old packet count, * and the difference is large. Connection is live. Don't skip. */ - if (diff > 0 && diff <= MONITOR_SLOP) + if (diff >= 0 && diff <= MONITOR_SLOP) { (void) report(stdout, _("skipping poll of %s, %s inactive\n"), @@ -498,7 +498,7 @@ int interface_approve(struct hostdata *hp) } #ifdef ACTIVITY_DEBUG - report(stdout _("activity on %s was %d, is %d"), + report(stdout, _("activity on %s was %d, is %d\n"), hp->monitor, hp->monitor_io, ifinfo.rx_packets + ifinfo.tx_packets); #endif -- cgit v1.2.3