From 0cb1da403dc08fce8bfb6904ef01ae171256f19d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 26 Nov 1998 04:40:49 +0000 Subject: Fixed Debian bug report Bug#29913 svn path=/trunk/; revision=2210 --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface.c') diff --git a/interface.c b/interface.c index 392fa8d2..8b7b0085 100644 --- a/interface.c +++ b/interface.c @@ -211,7 +211,7 @@ void interface_note_activity(struct hostdata *hp) count has now changed and they need to be re-updated) */ for (ctl = querylist; ctl; ctl = ctl->next) { - if (!strcmp(hp->monitor, ctl->server.monitor)) + if (ctl->server.monitor && !strcmp(hp->monitor, ctl->server.monitor)) ctl->server.monitor_io = ifinfo.rx_packets + ifinfo.tx_packets; /* do NOT update host entries following this one */ -- cgit v1.2.3