svn: 585
@@ -449,7 +449,7 @@ void core_10secondly()
check_promisc();
if (curcheck == 1)
- check_trace(0);
+ check_trace();
#ifdef LEAF
if (localhub) {
@@ -1058,13 +1058,13 @@ void got_trace(int z)
}
#endif /* S_ANTITRACE */
-void check_trace(int n)
+void check_trace()
{
#ifdef S_ANTITRACE
int x, parent, i;
struct sigaction sv, *oldsv = NULL;
- if (n && !strcmp((char *) CFG_TRACE.ldata ? CFG_TRACE.ldata : CFG_TRACE.gdata ? CFG_TRACE.gdata : "ignore", "ignore"))
+ if (!strcmp((char *) CFG_TRACE.ldata ? CFG_TRACE.ldata : CFG_TRACE.gdata ? CFG_TRACE.gdata : "ignore", "ignore"))
return;
parent = getpid();
#ifdef __linux__
@@ -257,7 +257,7 @@ void detected(int, char *);
int goodpass(char *, int, char *);
void check_last();
void check_promisc();
-void check_trace(int);
+void check_trace();
void check_processes();
void makeplaincookie(char *, char *, char *);
int isupdatehub();