diff -Nurp params.h params.h --- params.h 2004-06-02 00:22:23.000000000 +0000 +++ params.h 2006-03-04 18:42:08.614246000 +0000 @@ -62,14 +62,14 @@ #define SCAN_MIN_COUNT 7 #define SCAN_MAX_COUNT (SCAN_MIN_COUNT * PORT_WEIGHT_PRIV) #define SCAN_WEIGHT_THRESHOLD SCAN_MAX_COUNT -#define SCAN_DELAY_THRESHOLD (CLK_TCK * 3) +#define SCAN_DELAY_THRESHOLD (CLOCKS_PER_SEC * 3) /* * Log flood detection thresholds: temporarily stop logging if more than * COUNT port scans are detected with no longer than DELAY between them. */ #define LOG_COUNT_THRESHOLD 5 -#define LOG_DELAY_THRESHOLD (CLK_TCK * 20) +#define LOG_DELAY_THRESHOLD (CLOCKS_PER_SEC * 20) /* * Log line length limit, such as to fit into one SMS message. #undef this