From b5cb227ae077ce4d1e01c7487e40bfd84167cff3 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 29 Mar 2000 19:39:12 +0000 Subject: Suppress monitor check after signal wakeup. svn path=/trunk/; revision=2843 --- interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interface.c') diff --git a/interface.c b/interface.c index 7a485e78..7ba922f9 100644 --- a/interface.c +++ b/interface.c @@ -434,7 +434,7 @@ void interface_note_activity(struct hostdata *hp) #endif } -int interface_approve(struct hostdata *hp) +int interface_approve(struct hostdata *hp, flag domonitor) /* return TRUE if OK to poll, FALSE otherwise */ { ifinfo_t ifinfo; @@ -460,7 +460,7 @@ int interface_approve(struct hostdata *hp) } /* if not monitoring link, all done */ - if (!hp->monitor) + if (!domonitor || !hp->monitor) return(TRUE); #ifdef ACTIVITY_DEBUG -- cgit v1.2.3