#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;
}
/* if not monitoring link, all done */
- if (!hp->monitor)
+ if (!domonitor || !hp->monitor)
return(TRUE);
#ifdef ACTIVITY_DEBUG